diff --git a/book/controller.rst b/book/controller.rst index 1f51d5ed4c5..c588cd5b4c2 100644 --- a/book/controller.rst +++ b/book/controller.rst @@ -332,6 +332,15 @@ working with forms, for example:: .. index:: single: Controller; Base controller class +Creating Static Pages +--------------------- + +You can create a static page without creating any controller. Using only the +routing file, you just have to indicate the "FrameworkBundle:Template:template" +as the controller and the logical path of your template. + +Use it ! See :doc:`/cookbook/templating/render_without_controller`. + The Base Controller Class -------------------------