Skip to content

Commit 696127c

Browse files
committed
Merge pull request #49 from markwalet/patch-1
Fixed ReflectionException
2 parents 3afbfca + 96251c8 commit 696127c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
'uses' => 'Admin\\' . ucfirst(camel_case($menu->name)) . 'Controller@massDelete'
2525
]);
2626
Route::resource(strtolower($menu->name),
27-
'Admin\\' . ucfirst(camel_case($menu->name)) . 'Controller');
27+
'Admin\\' . ucfirst(camel_case($menu->name)) . 'Controller', ['except' => 'show']);
2828
break;
2929
case 3:
3030
Route::controller(strtolower($menu->name),

0 commit comments

Comments
 (0)