Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

tweaked language

  • Loading branch information...
commit 68b60b39a925a923f11dff5db110fc2c6f397da0 1 parent 5381a64
@lsmith77 lsmith77 authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
View
6 README.md
@@ -240,9 +240,8 @@ https://github.com/schmittjoh/JMSSerializerBundle/blob/master/Resources/doc/inde
Listener support
----------------
-All but the ``mime_type`` listeners of this bundle are enabled by default.
-You can disable one or more the listeners.
-For example, below you can see how to disable the body listener:
+All listeners except the mime_type listener of this bundle are enabled by default.
+You can disable one or more of the listeners as seen in the below example:
```yaml
# app/config/config.yml
@@ -287,6 +286,7 @@ class UsersController
As this feature is heavily based on the SensioFrameworkBundle, the example can further be
simplified by using the various annotations supported by that bundle. There is also one
additional annotation called ``@View()`` which extends from the ``@Template()`` annotation.
+
The ``@View()`` and ``@Template()`` annotations behave essentially the same with a minor
difference. When ``view_response_listener`` is set to ``true`` instead of the default ``force``
and ``@View()`` is not used, then rendering will be delegated to SensioFrameworkBundle.
Please sign in to comment.
Something went wrong with that request. Please try again.