Skip to content

Commit

Permalink
Style / grammar fixes for the controller chapter
Browse files Browse the repository at this point in the history
  • Loading branch information
frne authored and javiereguiluz committed Jun 23, 2015
1 parent 136230f commit c56f912
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cookbook/controller/service.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ this works fine, controllers can also be specified as services.

.. note::

Specifying a controller as a service takes a little bit more work. The
Specifying a controller as a service takes a bit more work. The
primary advantage is that the entire controller or any services passed to
the controller can be modified via the service container configuration.
This is especially useful when developing an open-source bundle or any
bundle that will be used in many different projects.
bundle that will be used in different projects.

A second advantage is that your controllers are more "sandboxed". By
looking at the constructor arguments, it's easy to see what types of things
Expand Down

0 comments on commit c56f912

Please sign in to comment.