fixed pod for page config attribute
[catagits/Catalyst-Controller-DBIC-API.git] / t / lib / RestTest / Controller / API / REST / Track.pm
CommitLineData
d2739840 1package RestTest::Controller::API::REST::Track;
2use Moose;
3BEGIN { extends 'Catalyst::Controller::DBIC::API::REST' }
4
5use namespace::autoclean;
6
7__PACKAGE__->config
8 ( action => { setup => { PathPart => 'track', Chained => '/api/rest/rest_base' } },
9 class => 'RestTestDB::Track',
10 create_requires => ['cd', 'title' ],
11 create_allows => ['cd', 'title', 'position' ],
9f9ffe56 12 update_allows => ['title', 'position', { cd => ['*'] }],
d2739840 13 );
14
151;