Flash messages:
@if(Session::has('message'))
<p class="alert {{ Session::get('alert-class', 'alert-info') }}">{{ Session::get('message') }}</p>
@endif
Session::flash('message', 'This is a message!');
Session::flash('alert-class', 'alert-danger');
may be \Session if u don't want use in header;
\Input::get() both post or get. y ?
return \Redirect::back();
https://laraveltips.wordpress.com/2015/06/16/setting-up-a-forgot-password-form-and-controller-in-laravel-5-1/
https://github.com/FIF/cropzoom_laravel_jibjab/blob/master/app/controllers/YoutubeController.php
Comments
Post a Comment