public function edit($user)
    {
        $user = User::find($user);
        if (!$user) {
            return redirect_to_resource();
        }

        $roles = Role::getAllLists();

        return $this->view('titan::clients.create_edit')->with('item', $user)->with('roles', $roles);
    }
public function edit($user)
    {
        $user = User::find($user);
        if (!$user) {
            return redirect_to_resource();
        }

        $roles = Role::getAllLists();

        return $this->view('titan::clients.create_edit')->with('item', $user)->with('roles', $roles);
    }
public function edit ( $ user ) { $ user = User :: find ( $ user ) ; if ( ! $ user ) { return redirect_to_resource ( ) ; } $ roles = Role :: getAllLists ( ) ; return $ this -> view ( 'titan::clients.create_edit' ) -> with ( 'item' , $ user ) -> with ( 'roles' , $ roles ) ; }
Show the form for editing the specified client.

@param User $user
@return Response
Show the form for editing the specified client .