Remove HTTP method from generated URLs

This commit is contained in:
Franz Liedke 2015-06-09 00:06:33 +02:00
parent fed3c2ebd1
commit 2a713ccb67

View File

@ -80,6 +80,7 @@ class Router
public function getPath($name, $parameters = [])
{
$parts = $this->reverse[$name];
array_forget($parts, 'method');
$path = implode('', array_map(function ($part) use ($parameters) {
if (is_array($part)) {