[Pkg-owncloud-commits] [owncloud-doc] 184/270: Update routes.rst

David Prévot taffit at moszumanska.debian.org
Thu Jul 31 03:53:24 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud-doc.

commit cf3fe0946e4ec2fbb4120a497f46e3c926baf204
Author: Bernhard Posselt <Raydiation at users.noreply.github.com>
Date:   Thu Jun 26 14:31:01 2014 +0200

    Update routes.rst
---
 developer_manual/app/routes.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/developer_manual/app/routes.rst b/developer_manual/app/routes.rst
index 26fd880..96f335c 100644
--- a/developer_manual/app/routes.rst
+++ b/developer_manual/app/routes.rst
@@ -125,10 +125,10 @@ To prevent repetition, it's possible define resources. The following routes:
     $application->registerRoutes($this, array(
         'routes' => array(
             array('name' => 'author#index', 'url' => '/authors', 'verb' => 'GET'),
-            array('name' => 'author#show', 'url' => '/authors/{authorId}', 'verb' => 'GET'),
+            array('name' => 'author#show', 'url' => '/authors/{id}', 'verb' => 'GET'),
             array('name' => 'author#create', 'url' => '/authors', 'verb' => 'POST'),
-            array('name' => 'author#update', 'url' => '/authors/{authorId}', 'verb' => 'PUT'),
-            array('name' => 'author#destroy', 'url' => '/authors/{authorId}', 'verb' => 'DELETE'),
+            array('name' => 'author#update', 'url' => '/authors/{id}', 'verb' => 'PUT'),
+            array('name' => 'author#destroy', 'url' => '/authors/{id}', 'verb' => 'DELETE'),
             // your other routes here
         )
     ));

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-doc.git



More information about the Pkg-owncloud-commits mailing list