Set GET required in Symfony Route
This commit is contained in:
parent
7215ffe9e6
commit
64bc5822c8
@ -132,7 +132,7 @@ class App {
|
||||
}
|
||||
}
|
||||
|
||||
$this->routes->add('rr-' . ++$this->_routeCounter, new Route($path, array('_controller' => $decorated), array('Origin' => $this->httpHost), array(), $httpHost));
|
||||
$this->routes->add('rr-' . ++$this->_routeCounter, new Route($path, array('_controller' => $decorated), array('Origin' => $this->httpHost), array(), $httpHost, array(), array('GET')));
|
||||
|
||||
return $decorated;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user