Hi I am building an application using laravel 5.2 I have a messaging system and I would like to populate some sections in my layout like 'Current Unread Messages Count' and a summary of the last 5 messages. The way i was gonna go about it is to call a method get the data that I need and then pass the data to the layout and then render the view. I understand this can be done with a view composer but I have no idea how. Any input would be greatly appreicated. Thanks in advance
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/21dmdaw
via IFTTT
Aucun commentaire:
Enregistrer un commentaire