How would I override the View::make('cashier::receipt');
view so that when that particular namespace is called like that, it checks my folder first and then defaults back to the vendor path.
View::addNamespace('cashier', [
'/path/to/my/views', // check first
'/path/to/original/views' // check second
]);
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire