Commit 089c84b5 authored by Fabien Potencier's avatar Fabien Potencier

tweaked docs

parent 3d14ac4e
......@@ -313,9 +313,9 @@ Named routes
~~~~~~~~~~~~
Certain extensions (such as ``UrlGenerator``) can make use of named routes.
By default Silex will generate a route name for you, that cannot really be
used. You can give a route a name by calling ``bind`` on the ``Controller``
object that is returned by the routing methods::
Silex generates a default route name for each controller but you can override
it by calling ``bind`` on the ``Controller`` object that is returned by the
routing methods::
$app->get('/', function () {
...
......
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