container support built into fields and an example of usage in ComponentUI
[catagits/Reaction.git] / lib / ComponentUI / Controller / TestModel / Bar.pm
index f3140ee..0839506 100644 (file)
@@ -1,12 +1,14 @@
 package ComponentUI::Controller::TestModel::Bar;
 
-use base 'Reaction::UI::CRUDController';
+use base 'Reaction::UI::Controller::Collection::CRUD';
 use Reaction::Class;
 
 __PACKAGE__->config(
   model_name => 'TestModel',
   collection_name => 'Bar',
-  action => { base => { Chained => '/base', PathPart => 'testmodel/bar' }},
+  action => {
+    base => { Chained => '/base', PathPart => 'testmodel/bar' },
+  },
 );
 
 1;