I am trying to make a dynamic view file where I need to pass route name dynamically like if the regular route name is
href=""
So I need to pass it like
<?php $route = "'".'products.index'."'"; ?>
href=""
Its throwing error Route ['products.index'] not defined.
how can I achieve this ??
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire