Skip to content

Commit ca31fb6

Browse files
committed
Merge pull request #1385 from WouterJ/2.0
Fixed issue #1354
2 parents 1974241 + c8c63ce commit ca31fb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/routing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ you can define:
115115
For example, the following route would only accept requests to /foo with
116116
the POST method and a secure connection::
117117

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

120120
.. tip::
121121

0 commit comments

Comments
 (0)