From 2f1090bbbb55d10d6a487611dde18dc8d73f09eb Mon Sep 17 00:00:00 2001 From: Daniel Coulbourne Date: Fri, 4 Aug 2017 14:17:16 -0400 Subject: [PATCH] Remove params from returned JSON. --- src/BladeRouteGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BladeRouteGenerator.php b/src/BladeRouteGenerator.php index bdedc4d5..494efb6c 100644 --- a/src/BladeRouteGenerator.php +++ b/src/BladeRouteGenerator.php @@ -36,7 +36,7 @@ function (tag) { private function nameKeyedRoutes() { return collect($this->router->getRoutes()->getRoutesByName())->map(function ($route) { - return collect($route)->only(['uri', 'methods', 'parameters']); + return collect($route)->only(['uri', 'methods']); }); } }