3
0
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:
snipe
2016-04-28 21:06:41 -07:00
parent 8dd0e72284
commit ba01b20ad4
23 changed files with 375 additions and 375 deletions

View File

@ -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());
}
}