Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion en/controllers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ Content Type Negotiation

Controllers can define a list of view classes they support. After the
controller's action is complete CakePHP will use the view list to perform
content-type negotiation with either :ref:`file-extensions` or ``Content-Type``
content-type negotiation with either :ref:`file-extensions` or ``Accept``
headers. This enables your application to re-use the same controller action to
render an HTML view or render a JSON or XML response. To define the list of
supported view classes for a controller is done with the ``addViewClasses()``
Expand Down