Skip to content

Instantly share code, notes, and snippets.

@mtigdemir
Created March 30, 2015 11:04
Show Gist options
  • Save mtigdemir/f10b591d0a8cfe7268e5 to your computer and use it in GitHub Desktop.
Save mtigdemir/f10b591d0a8cfe7268e5 to your computer and use it in GitHub Desktop.
$messageBag = new Illuminate\Support\MessageBag;
$messageBag->add('error' , 'My Message');
Redirect::back()->withErrors($messageBag);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment