User and Role show method redirect index page..
This commit is contained in:
@ -24,6 +24,16 @@ class Roles extends Controller
|
|||||||
return $this->response('auth.roles.index', compact('roles'));
|
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.
|
* Show the form for creating a new resource.
|
||||||
*
|
*
|
||||||
|
@ -40,6 +40,16 @@ class Users extends Controller
|
|||||||
return $this->response('auth.users.index', compact('users'));
|
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.
|
* Show the form for creating a new resource.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user