Skip to content

Commit 1088995

Browse files
committed
Merge pull request dingo#538 from rokde/patch-1
A route has no "isProtected" method anymore
2 parents a36f5d9 + 1efa27a commit 1088995

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Console/Command/Routes.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Routes extends RouteListCommand
3535
*
3636
* @var array
3737
*/
38-
protected $headers = ['Domain', 'URI', 'Name', 'Action', 'Version(s)', 'Protected', 'Scope(s)'];
38+
protected $headers = ['Domain', 'URI', 'Name', 'Action', 'Version(s)', 'Scope(s)'];
3939

4040
/**
4141
* Create a new routes command instance.
@@ -70,7 +70,6 @@ protected function getRoutes()
7070
'name' => $route->getName(),
7171
'action' => $route->getActionName(),
7272
'versions' => implode(', ', $route->versions()),
73-
'protected' => $route->isProtected() ? 'Yes' : 'No',
7473
'scopes' => implode(', ', $route->scopes())
7574
]);
7675
}

0 commit comments

Comments
 (0)