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 components/routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ you can define:
For example, the following route would only accept requests to /foo with
the POST method and a secure connection::

$route = new Route('/foo', array('_method' => 'post', '_scheme' => 'https' ));
$route = new Route('/foo', array(), array('_method' => 'post', '_scheme' => 'https' ));

.. tip::

Expand Down