Skip to content

Commit

Permalink
Remove params from returned JSON.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Coulbourne committed Aug 4, 2017
1 parent 56ad657 commit 2f1090b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BladeRouteGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
});
}
}

0 comments on commit 2f1090b

Please sign in to comment.