Update routes.rst

Remove unmatching parenthesis.
This commit is contained in:
Oliver Gasser
2014-08-22 13:53:25 +02:00
parent 6048af98fd
commit b9b2cbbdc5

View File

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