From 5fd833ec9219d200fd33b99bbafb111926f9acd4 Mon Sep 17 00:00:00 2001 From: Alessandro Cosentino Date: Thu, 24 Jan 2013 23:49:00 -0500 Subject: [PATCH] Update developer_manual/routing.rst proofreading while reading :) --- developer_manual/routing.rst | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/developer_manual/routing.rst b/developer_manual/routing.rst index bd6c70558..0ee4c7cc3 100644 --- a/developer_manual/routing.rst +++ b/developer_manual/routing.rst @@ -2,18 +2,17 @@ Routing ======= With routing the request url doesn't need to be matched with a physical file. -Instead the url is mapped to a function that handles the request. This way be -almost any structure. It can even map different urls to the same function, -which is usefull for backward compatibility. +Instead, the url is mapped to a function that handles the request. +It can even map different urls to the same function, +which is useful for backward compatibility. -Last but not least, using routing you only have one place to define the url. So -changing the is pretty easy. +By using routing, you only have one place to define the url, +which makes it easier in case the url needs to be changed. Routing in ownCloud ------------------- -ownCloud uses Symfony Routing Component as its base, look at -http://symfony.com/doc/current/book/routing.html for more information. +Routing in ownCloud is based on `Symfony Routing Component `_. Look at the API docs for OC_Router and OC_Route for more information.