示例#1
0
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function edit($id)
 {
     return view('roles.edit')->withRoles(Role::find($id))->withPermissions(Permission::all())->withUsers(User::all());
 }