samedi 18 mai 2019

url() parameter not working in Blade template include

I'm using Laravel 5 with Blade templates. My templates look like so:

drone.blade.php

@include('drone.gallery')

drone/gallery.php



However, the url() function does not work inside my include file. If I copy the line into drone.blade.php it works as expected.

Why is the url() parameter not working inside include?

Thanks in advance.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire