Pass variable from layout (@extend) to view (@yield)
Hi, I was wondering if someone has any suggestions on how to pass a variable from the layout blade template to the view file (with out any controller intervention)
In the layout template:
In the blade view:
Thanks in advance for any help
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!