Update routes.rst

This commit is contained in:
Bernhard Posselt
2014-06-26 14:11:35 +02:00
parent 6443a13b98
commit a2308adf7d

View File

@@ -143,7 +143,7 @@ can be abbreviated by using the **resources** key:
$application = new Application();
$application->registerRoutes($this, array(
'resources' => array(
array('authors' => array('url' => '/authors'))
array('author' => array('url' => '/authors'))
),
'routes' => array(
// your other routes here