/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit($id) { // $role = $this->role->edit($id); $permissions = $this->role->permission(); $cans = $this->role->getRoleCans($role); return view('back.role.edit', compact('role', 'permissions', 'cans')); }