From 64bc5822c80ce6c16d5033fa63eb10c997cd30f9 Mon Sep 17 00:00:00 2001 From: Chris Boden Date: Fri, 30 Dec 2016 13:26:04 -0500 Subject: [PATCH] Set GET required in Symfony Route --- src/Ratchet/App.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ratchet/App.php b/src/Ratchet/App.php index b7d0e55..c52a2c7 100644 --- a/src/Ratchet/App.php +++ b/src/Ratchet/App.php @@ -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; }