from the documentation, only 4 parameters can be pass to @each
. I don't think to use @include
will help. here my code
@each('partials.nav.categories', $groupCategories, 'parent')
I need to send through an additional variable for use in the partial partials.nav.categories
. This variable is not contained within the $groupCategories
array.
Is there any way to send this additional variable through or do I have to append it to each item in the partials.nav.categories
array?
Thanks
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1VrfDvJ
via IFTTT
Aucun commentaire:
Enregistrer un commentaire