Quantcast
Channel: Laravel 4 how to display flash message in view? - Stack Overflow
Viewing all articles
Browse latest Browse all 12

Answer by Abdul Rehman Ch for Laravel 4 how to display flash message in view?

$
0
0

Inside of the routes.php file try to create your routes within the

Route::group(['middleware' => ['web']], function () {
    //routes here
}

then use

@if(Session::has('success'))
   <div class="alert-box success">
     <h2>{{ Session::get('success') }}</h2>
   </div>
@endif

Viewing all articles
Browse latest Browse all 12

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>