blob: 2cf7681d55ca2dd42287e93b0de0db0810a4fc11 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package ComponentUI::Controller::TestModel::Bar;
use base 'Reaction::UI::CRUDController';
use Reaction::Class;
__PACKAGE__->config(
model_base => 'TestModel',
model_name => 'Bar',
action => { base => { Chained => '/base', PathPart => 'testmodel/bar' },
list => { ViewPort => { layout => 'bar_list' } },
update => { ViewPort => { layout => 'bar_form' } },
create => { ViewPort => { layout => 'bar_form' } } },
);
1;
|