aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ComponentUI/Controller/TestModel/Baz.pm
blob: 2fece5a428d436f24f552e8a3396132872eef807 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package ComponentUI::Controller::TestModel::Baz;

use base 'Reaction::UI::Controller::Collection::CRUD';
use Reaction::Class;

__PACKAGE__->config(
  model_name => 'TestModel',
  collection_name => 'Baz',
  action => {
    base => { Chained => '/base', PathPart => 'testmodel/baz' },
    list => {
      ViewPort => {
        enable_order_by => [qw/id name/],
      },
    },
  },
);

1;