File tree Expand file tree Collapse file tree 4 files changed +20
-1
lines changed
resources/views/pages/admin Expand file tree Collapse file tree 4 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -200,3 +200,7 @@ INSTAGRAM_REDIRECT_URI=https://YOURWEBURLHERE.COM/social/handle/instagram
20020037SIGNALS_KEY = YOURKEYHERE
20120137SIGNALS_SECRET = YOURSECRETHERE
20220237SIGNALS_REDIRECT_URI = https://YOURWEBURLHERE.COM/social/handle/37signals
203+
204+ # enable/disable HTTP Method column in admin's route details list
205+ # default value = 1
206+ # SHOW_ROUTE_HTTP_METHOD=0
Original file line number Diff line number Diff line change 6161 "autoload-dev" : {
6262 "psr-4" : {
6363 "Tests\\ " : " tests/" ,
64- "jeremykenedy\\ LaravelRoles\\ " : " packages /jeremykenedy/laravel-rosles /src/"
64+ "jeremykenedy\\ LaravelRoles\\ " : " vendor /jeremykenedy/laravel-roles /src/"
6565 }
6666 },
6767 "scripts" : {
Original file line number Diff line number Diff line change 8181 * Google Analytics
8282 */
8383 'googleanalyticsId ' => env ('GOOGLE_ANALYTICS_ID ' , false ),
84+
85+ /*
86+ * enable/disable HTTP Method column in admin's route details list
87+ */
88+ 'showRouteHttpMethod ' => env ('SHOW_ROUTE_HTTP_METHOD ' , 1 ),
8489];
Original file line number Diff line number Diff line change 2121 <table class =" table table-striped table-sm data-table" >
2222 <thead >
2323 <tr class =" success" >
24+ @if (config (' settings.showRouteHttpMethod' ) )
25+ <th >Request Method</th >
26+ @endif
2427 <th >URI</th >
2528 <th >Name</th >
2629 <th >Type</th >
3033 <tbody >
3134 @foreach ($routes as $route )
3235 <tr >
36+ @if (config (' settings.showRouteHttpMethod' ) )
37+ <td >
38+ @foreach ($route -> methods as $method )
39+ <span class =" badge badge-primary" >{{ strtolower ($method )} } </span >
40+ @endforeach
41+ </td >
42+ @endif
3343 <td >{{ $route -> uri } } </td >
3444 <td >{{ $route -> getName ()} } </td >
3545 <td >{{ $route -> getPrefix ()} } </td >
You can’t perform that action at this time.
0 commit comments