diff --git a/app/Http/Controllers/Auth/Roles.php b/app/Http/Controllers/Auth/Roles.php index d185caae2..5af5cf09b 100644 --- a/app/Http/Controllers/Auth/Roles.php +++ b/app/Http/Controllers/Auth/Roles.php @@ -24,6 +24,16 @@ class Roles extends Controller return $this->response('auth.roles.index', compact('roles')); } + /** + * Show the form for viewing the specified resource. + * + * @return Response + */ + public function show() + { + return redirect()->route('roles.index'); + } + /** * Show the form for creating a new resource. * diff --git a/app/Http/Controllers/Auth/Users.php b/app/Http/Controllers/Auth/Users.php index 17cdb7ae1..66bb78cbe 100644 --- a/app/Http/Controllers/Auth/Users.php +++ b/app/Http/Controllers/Auth/Users.php @@ -40,6 +40,16 @@ class Users extends Controller return $this->response('auth.users.index', compact('users')); } + /** + * Show the form for viewing the specified resource. + * + * @return Response + */ + public function show() + { + return redirect()->route('users.index'); + } + /** * Show the form for creating a new resource. *