From: Robert Buels Date: Mon, 28 Mar 2011 22:40:17 +0000 (-0700) Subject: correct resultset_class param name in the API.pm synopsis X-Git-Tag: 2.003002~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Controller-DBIC-API.git;a=commitdiff_plain;h=67431358f30a75fc5fd5b4209d4e204802a47d41 correct resultset_class param name in the API.pm synopsis --- diff --git a/lib/Catalyst/Controller/DBIC/API.pm b/lib/Catalyst/Controller/DBIC/API.pm index 568b7fb..b9a53d0 100644 --- a/lib/Catalyst/Controller/DBIC/API.pm +++ b/lib/Catalyst/Controller/DBIC/API.pm @@ -41,7 +41,7 @@ __PACKAGE__->config(); __PACKAGE__->config ( action => { setup => { PathPart => 'artist', Chained => '/api/rpc/rpc_base' } }, # define parent chain action and partpath class => 'MyAppDB::Artist', - result_class => 'MyAppDB::ResultSet::Artist', + resultset_class => 'MyAppDB::ResultSet::Artist', create_requires => ['name', 'age'], create_allows => ['nickname'], update_allows => ['name', 'age', 'nickname'],