mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
Update routes.rst
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user