From 1b31ad1853edcb9103c4f63d38f71384e8c28bfb Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Fri, 16 Jan 2015 16:54:21 +0100 Subject: [PATCH] Add custom link labels where Cookbook articles titles looked wrong --- best_practices/configuration.rst | 4 ++-- best_practices/controllers.rst | 5 +++-- best_practices/forms.rst | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/best_practices/configuration.rst b/best_practices/configuration.rst index 136f8a3778c..b29b4a7b778 100644 --- a/best_practices/configuration.rst +++ b/best_practices/configuration.rst @@ -74,8 +74,8 @@ add an extra layer of configuration that's not needed because you don't need or want these configuration values to change on each server. The configuration options defined in the ``config.yml`` file usually vary from -one :doc:`/cookbook/configuration/environments` to another. That's why Symfony -already includes ``app/config/config_dev.yml`` and ``app/config/config_prod.yml`` +one :doc:`environment ` to another. That's +why Symfony already includes ``app/config/config_dev.yml`` and ``app/config/config_prod.yml`` files so that you can override specific values for each environment. Constants vs Configuration Options diff --git a/best_practices/controllers.rst b/best_practices/controllers.rst index 07bdf5ebb8e..31c4ae09438 100644 --- a/best_practices/controllers.rst +++ b/best_practices/controllers.rst @@ -139,7 +139,7 @@ For example: use AppBundle\Entity\Post; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; - + /** * @Route("/{id}", name="admin_post_show") */ @@ -212,6 +212,7 @@ Pre and Post Hooks ------------------ If you need to execute some code before or after the execution of your controllers, -you can use the EventDispatcher component to :doc:`/cookbook/event_dispatcher/before_after_filters`. +you can use the EventDispatcher component to +:doc:`set up before and after filters `. .. _`ParamConverter`: http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html diff --git a/best_practices/forms.rst b/best_practices/forms.rst index 897e4266468..e88e3a2f480 100644 --- a/best_practices/forms.rst +++ b/best_practices/forms.rst @@ -165,8 +165,8 @@ fields: If you need more control over how your fields are rendered, then you should remove the ``form_widget(form)`` function and render your fields individually. -See :doc:`/cookbook/form/form_customization` for more information on this and how -you can control *how* the form renders at a global level using form theming. +See :doc:`/cookbook/form/form_customization` article for more information on this +and how you can control *how* the form renders at a global level using form theming. Handling Form Submits --------------------- pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy