aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ComponentUI/Controller/TestModel/Bar.pm
diff options
context:
space:
mode:
authorgroditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2007-10-23 16:58:00 +0000
committergroditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2007-10-23 16:58:00 +0000
commita4f82080351c17ad76981742a8e45231781f75fe (patch)
tree1bbf7847aac7891f1e32b951cd780e3cc12913bd /lib/ComponentUI/Controller/TestModel/Bar.pm
parentf272565b546b9c07bc251eb0e998e8b2b4b6d19d (diff)
downloadreaction-a4f82080351c17ad76981742a8e45231781f75fe.tar.gz
reaction-a4f82080351c17ad76981742a8e45231781f75fe.zip
CRUDController syntax changed to be less retarded and Reflector::DBIC fixed to use DeleteAll action
Diffstat (limited to 'lib/ComponentUI/Controller/TestModel/Bar.pm')
-rw-r--r--lib/ComponentUI/Controller/TestModel/Bar.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ComponentUI/Controller/TestModel/Bar.pm b/lib/ComponentUI/Controller/TestModel/Bar.pm
index 644a20f..f3140ee 100644
--- a/lib/ComponentUI/Controller/TestModel/Bar.pm
+++ b/lib/ComponentUI/Controller/TestModel/Bar.pm
@@ -4,8 +4,8 @@ use base 'Reaction::UI::CRUDController';
use Reaction::Class;
__PACKAGE__->config(
- model_base => 'TestModel',
- model_name => 'Bar',
+ model_name => 'TestModel',
+ collection_name => 'Bar',
action => { base => { Chained => '/base', PathPart => 'testmodel/bar' }},
);