App\Http\Controllers\Back\AdministratorsController::edit PHP Method

edit() public method

public edit ( $id )
    public function edit($id)
    {
        $user = User::findOrFail($id);
        return view('back.administrators.edit')->with(compact('user'));
    }