aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ComponentUI/Controller/Foo.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ComponentUI/Controller/Foo.pm')
-rw-r--r--lib/ComponentUI/Controller/Foo.pm14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/ComponentUI/Controller/Foo.pm b/lib/ComponentUI/Controller/Foo.pm
new file mode 100644
index 0000000..88503a5
--- /dev/null
+++ b/lib/ComponentUI/Controller/Foo.pm
@@ -0,0 +1,14 @@
+package ComponentUI::Controller::Foo;
+
+use strict;
+use warnings;
+use base 'Reaction::UI::CRUDController';
+use Reaction::Class;
+
+__PACKAGE__->config(
+ model_base => 'TestDB',
+ model_name => 'Foo',
+ action => { base => { Chained => '/base', PathPart => 'foo' } },
+);
+
+1;