[Pkg-owncloud-commits] [owncloud-doc] 08/227: Update routes.rst

David Prévot taffit at moszumanska.debian.org
Sat Oct 11 17:20:28 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 3e5c29cd5c2c8447cff4ae8f3b7640b189b31250
Author: Oliver Gasser <oliver at flowriver.net>
Date:   Fri Aug 22 13:53:25 2014 +0200

    Update routes.rst
    
    Remove unmatching parenthesis.
---
 developer_manual/app/routes.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/developer_manual/app/routes.rst b/developer_manual/app/routes.rst
index 96f335c..f8de1fd 100644
--- a/developer_manual/app/routes.rst
+++ b/developer_manual/app/routes.rst
@@ -92,7 +92,7 @@ Sometimes its needed to match more than one URL fragment. An example would be to
     // Request: OPTIONS /index.php/apps/myapp/api/my/route
 
     // appinfo/routes.php
-    array('name' => 'author_api#cors', 'url' => '/api/{path}', 'verb' => 'OPTIONS'),
+    array('name' => 'author_api#cors', 'url' => '/api/{path}', 'verb' => 'OPTIONS',
           'requirements' => array('path' => '.+')),
 
     // controller/authorapicontroller.php

-- 
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