Commit 5a4b0158 authored by Fabien Potencier's avatar Fabien Potencier

fixed doc markup

parent bf083908
...@@ -54,7 +54,7 @@ Changelog ...@@ -54,7 +54,7 @@ Changelog
* **2013-04-12**: Added support for validators as services. * **2013-04-12**: Added support for validators as services.
* **2013-04-01**: Added support for host matching with symfony 2.2: * **2013-04-01**: Added support for host matching with symfony 2.2::
$app->match('/', function() { $app->match('/', function() {
// app-specific action // app-specific action
......
...@@ -69,5 +69,5 @@ would secure all controllers for the backend collection:: ...@@ -69,5 +69,5 @@ would secure all controllers for the backend collection::
// app.php // app.php
$app->mount('/blog', include 'blog.php'); $app->mount('/blog', include 'blog.php');
Instead of requiring a file, you can also create a :doc:`Controller Instead of requiring a file, you can also create a :ref:`Controller
provider </providers#controllers-providers>`. provider <controller-providers>`.
...@@ -140,8 +140,10 @@ You can now use this provider as follows:: ...@@ -140,8 +140,10 @@ You can now use this provider as follows::
In this example we are getting the ``name`` parameter from the query string, In this example we are getting the ``name`` parameter from the query string,
so the request path would have to be ``/hello?name=Fabien``. so the request path would have to be ``/hello?name=Fabien``.
Controllers providers .. _controller-providers:
---------------------
Controller Providers
--------------------
Loading providers Loading providers
~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~
......
...@@ -37,12 +37,11 @@ Registering ...@@ -37,12 +37,11 @@ Registering
.. note:: .. note::
If you don't want to create your own form layout, it's fine: a default one If you don't want to create your own form layout, it's fine: a default one
will be used. But you will have to register the will be used. But you will have to register the :doc:`translation provider
:doc:`translation provider <providers/translation>` as the default form <translation>` as the default form layout requires it.
layout requires it.
If you want to use validation with forms, do not forget to register the If you want to use validation with forms, do not forget to register the
:doc:`Validator provider <providers/validator>`. :doc:`Validator provider <validator>`.
.. note:: .. note::
......
...@@ -16,5 +16,6 @@ Silex ...@@ -16,5 +16,6 @@ Silex
http_cache http_cache
http_fragment http_fragment
security security
remember_me
serializer serializer
service_controller service_controller
...@@ -163,5 +163,5 @@ You can configure the Twig environment before using it by extending the ...@@ -163,5 +163,5 @@ You can configure the Twig environment before using it by extending the
return $twig; return $twig;
})); }));
For more information, check out the `Twig documentation For more information, check out the `official Twig documentation
<http://twig.sensiolabs.org>`_. <http://twig.sensiolabs.org>`_.
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