Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- return Redirect::back()->with('message','Operation Successful !');
- echo Session::get('message');
- // [[... validation and other magic here]]
- if ($validator->fails()) {
- return Redirect::back()
- ->withMessage($message_fail)
- ->withErrors($validator)
- ->withInput();
- }
- return Redirect::back()
- ->withMessage($message_success)
- return redirect()->action('HomeController@index');
Add Comment
Please, Sign In to add comment