Commit c5d5dbfa authored by Fabien Potencier's avatar Fabien Potencier

Merge branch '1.3'

* 1.3:
  doFlush returns the same RouteCollection instance now, so there's no need to add the sub-collection routes to itself
  removing removed cookbook entry in the list
parents 8a77fe76 7facddba
...@@ -8,7 +8,6 @@ The cookbook section contains recipes for solving specific problems. ...@@ -8,7 +8,6 @@ The cookbook section contains recipes for solving specific problems.
:hidden: :hidden:
json_request_body json_request_body
translating_validation_messages
session_storage session_storage
form_no_csrf form_no_csrf
validator_yaml validator_yaml
...@@ -23,8 +22,6 @@ Recipes ...@@ -23,8 +22,6 @@ Recipes
building a restful API is the ability to accept a JSON encoded entity from building a restful API is the ability to accept a JSON encoded entity from
the request body. the request body.
* :doc:`Translating Validation Messages<translating_validation_messages>`.
* :doc:`Using PdoSessionStorage to store Sessions in the Database * :doc:`Using PdoSessionStorage to store Sessions in the Database
<session_storage>`. <session_storage>`.
......
...@@ -215,7 +215,7 @@ class ControllerCollection ...@@ -215,7 +215,7 @@ class ControllerCollection
$routes->add($name, $controller->getRoute()); $routes->add($name, $controller->getRoute());
$controller->freeze(); $controller->freeze();
} else { } else {
$routes->addCollection($controller->doFlush($prefix.$controller->prefix, $routes)); $controller->doFlush($prefix.$controller->prefix, $routes);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment