dynamic runtime and role fixes
[catagits/CatalystX-Declare.git] / t / lib / TestApp / Controller / DynamicFinal / Foo.pm
diff --git a/t/lib/TestApp/Controller/DynamicFinal/Foo.pm b/t/lib/TestApp/Controller/DynamicFinal/Foo.pm
new file mode 100644 (file)
index 0000000..c538dac
--- /dev/null
@@ -0,0 +1,12 @@
+use CatalystX::Declare;
+
+controller TestApp::Controller::DynamicFinal::Foo {
+    with 'TestApp::ControllerRole::DynamicFinal' => {
+        is_final    => 1,
+        base        => 'base',
+        body        => 'foo',
+        counters    => [qw( x y )],
+    };
+
+    action base as df_foo under '/';
+}