Skip to content

Commit

Permalink
minor #4857 Add custom link labels where Cookbook articles titles loo…
Browse files Browse the repository at this point in the history
…ked wrong (javiereguiluz)

This PR was merged into the 2.3 branch.

Discussion
----------

Add custom link labels where Cookbook articles titles looked wrong

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets | #4822

Commits
-------

1b31ad1 Add custom link labels where Cookbook articles titles looked wrong
  • Loading branch information
weaverryan committed Jan 16, 2015
2 parents 17989fd + 1b31ad1 commit c454fd2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions best_practices/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 </cookbook/configuration/environments>` 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
Expand Down
5 changes: 3 additions & 2 deletions best_practices/controllers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ For example:
use AppBundle\Entity\Post;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
/**
* @Route("/{id}", name="admin_post_show")
*/
Expand Down Expand Up @@ -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 </cookbook/event_dispatcher/before_after_filters>`.

.. _`ParamConverter`: http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html
4 changes: 2 additions & 2 deletions best_practices/forms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
---------------------
Expand Down

0 comments on commit c454fd2

Please sign in to comment.