I have a few vars in my app that I would like to share through multiple views and requests. Basically I have a custom Layout which I load like that:
@section('stylesheet')
{{ HTML::style(URL::to('custom_stylesheet/'.$slug)) }}
@stop
I somehow have to send the "slug" var to every request and action and/or controller I need and I need a few. It's a shop from a startpage to checkout, last step.
How can I achieve that? Is View::share() a solution or a cookie?
The URL structure is like that:
www.domain.tld/name/{client_slug}/{event_slug}/<all other variables>
like /overview or /checkout or /details/{event_id}
Thanks!