You can modify your view creation and add additional information like this:
return View::make('index', compact('menus_child', 'test_menu', 'content'))->with('menu', $menu, $test_menu, $content)->withSuccess('Everything went great');
and then show it inside your blade like this:
@if (!empty($success))
{{ $success }}
@endif
with('message', 'Message Body');
and print it like so:
@if(Session::has('message'))
<div class="alert alert-info">
{{ Session::get('message') }}
</div>
@endif
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community