mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-05 22:35:54 +00:00
Use updated redirect() reference
This commit is contained in:
@ -66,8 +66,8 @@ class ProfileController extends Controller
|
||||
}
|
||||
|
||||
if ($user->save()) {
|
||||
return Redirect::route('profile')->with('success', 'Account successfully updated');
|
||||
return redirect()->route('profile')->with('success', 'Account successfully updated');
|
||||
}
|
||||
return Redirect::back()->withInput()->withErrors($user->getErrors());
|
||||
return redirect()->back()->withInput()->withErrors($user->getErrors());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user