Without knowing more about your code it's hard to say exactly what to do, but you should be aware that Redirect::route()->with()
is NOT the same as View::make()->with()
. View::make()->with('var', 'value')
passes a variable called var
to the view, whereas Redirect::route()->with('var', 'value')
sets up a session flash variable.
In order to access 'global' in home.blade.php you need to find it in session:
{{{ Session::get('global') }}}
Incidentally, to get an actual 'global' view variable you need View::share('var', 'value')
, however this will not work over a redirect, only for the current request.