[Pkg-owncloud-commits] [owncloud-doc] 05/71: update doc about possible mistake

David Prévot taffit at moszumanska.debian.org
Tue Dec 2 22:02:50 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 658cbed32fe4f9059a83ef1e980b5916720dd847
Author: marcdexet-cnrs <marc.dexet at dsi.cnrs.fr>
Date:   Fri Nov 14 11:33:01 2014 +0100

    update doc about possible mistake
    
    Routing is case sensitive, be carefull about the appName case.
---
 developer_manual/app/routes.rst | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/developer_manual/app/routes.rst b/developer_manual/app/routes.rst
index f8de1fd..5cf8a2e 100644
--- a/developer_manual/app/routes.rst
+++ b/developer_manual/app/routes.rst
@@ -227,3 +227,11 @@ Inside the PageController the URL generator can now be used to generate an URL f
         }
 
     }
+
+URLGenerator is case sensitive, so **appName** must match **exactly** the name you use in :doc:`configuration <configuration>`.
+If you use a CamelCase name as *myCamelCaseApp*,
+
+.. code-block:: php
+
+    <?php
+    $route = 'myCamelCaseApp.author_api.do_something';

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