summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source
diff options
context:
space:
mode:
authorJonatas Miguel <jonatas.df.miguel@gmail.com>2012-08-30 13:56:01 +0200
committerJonatas Miguel <jonatas.df.miguel@gmail.com>2012-08-30 13:56:01 +0200
commitf002c2a825ccf6785e3867b4ecb92fe6013d364f (patch)
tree4f3e25cbbf8bbf1bb737e223b4529eba43e8228b /user_guide_src/source
parent59dbe859ffea8159932f6d28b765de615d430cf4 (diff)
Corrected styling errors in documentation
Diffstat (limited to 'user_guide_src/source')
-rw-r--r--user_guide_src/source/general/routing.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/user_guide_src/source/general/routing.rst b/user_guide_src/source/general/routing.rst
index 6bb5bdbc5..0a16e13af 100644
--- a/user_guide_src/source/general/routing.rst
+++ b/user_guide_src/source/general/routing.rst
@@ -112,7 +112,8 @@ Callbacks
If you are using PHP >= 5.3 you can use callbacks in place of the normal routing
rules to process the back-references. Example::
- $route['products/([a-z]+)/edit/(\d+)'] = function($product_type, $id){
+ $route['products/([a-z]+)/edit/(\d+)'] = function ($product_type, $id)
+ {
return "catalog/product_edit/" . strtolower($product_type) . "/" . $id;
};