order_by fixes including enable_order_by and coerce_order_by
[catagits/Reaction.git] / lib / ComponentUI / Controller / TestModel / Baz.pm
CommitLineData
7adfd53f 1package ComponentUI::Controller::TestModel::Baz;
2
89b70ba7 3use base 'Reaction::UI::Controller::Collection::CRUD';
7adfd53f 4use Reaction::Class;
5
6__PACKAGE__->config(
a4f82080 7 model_name => 'TestModel',
8 collection_name => 'Baz',
c1b16a7d 9 action => {
10 base => { Chained => '/base', PathPart => 'testmodel/baz' },
11 list => {
12 ViewPort => {
13 enable_order_by => [qw/id name/],
14 },
15 },
16 },
7adfd53f 17);
18
191;