correct resultset_class param name in the API.pm synopsis
Robert Buels [Mon, 28 Mar 2011 22:40:17 +0000 (15:40 -0700)]
lib/Catalyst/Controller/DBIC/API.pm

index 568b7fb..b9a53d0 100644 (file)
@@ -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'],