Permalink
Browse files

minor #4991 Fixed typo and tweaked syntax. (cdvrooman)

This PR was merged into the 2.3 branch.

Discussion
----------

Fixed typo and tweaked syntax.

Commits
-------

0f6e045 Fixed typo and tweaked syntax.
  • Loading branch information...
wouterj committed Feb 14, 2015
2 parents 3845c9c + 0f6e045 commit 5d4498707f7fc72653fc135a3e3caee675901ee9
Showing with 2 additions and 2 deletions.
  1. +2 −2 cookbook/event_dispatcher/before_after_filters.rst
@@ -156,7 +156,7 @@ your listener to be called just before any controller is executed.
# app/config/services.yml
services:
app.tokens.action_listener:
class: AappBundle\EventListener\TokenListener
class: AppBundle\EventListener\TokenListener
arguments: ["%tokens%"]
tags:
- { name: kernel.event_listener, event: kernel.controller, method: onKernelController }
@@ -240,7 +240,7 @@ if it's found::
$response->headers->set('X-CONTENT-HASH', $hash);
}
Finally, a second "tag" is needed on the service definition to notify Symfony
Finally, a second "tag" is needed in the service definition to notify Symfony
that the ``onKernelResponse`` event should be notified for the ``kernel.response``
event:

0 comments on commit 5d44987

Please sign in to comment.