Skip to content

Commit

Permalink
Merge pull request cakephp#5514 from cakephp/ADmad-patch-1
Browse files Browse the repository at this point in the history
Auto setting `_serialize` has been reverted.
  • Loading branch information
antograssiot authored Jan 5, 2018
2 parents d1b3745 + b056a32 commit b7d1af6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions en/views/json-and-xml-views.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,6 @@ If you use a string value for ``_serialize`` and XmlView, make sure that your
view variable has a single top-level element. Without a single top-level
element the Xml will fail to generate.

.. versionadded:: 3.1.0

In this version, the variable ``_serialize`` is automaticaly set to ``true``
to serialize all view variables instead of explicitly specifying them.

Using a Data View with Template Files
=====================================

Expand Down

0 comments on commit b7d1af6

Please sign in to comment.