vendredi 1 janvier 2016

Laravel 5 Routes - Group domains if in array?

I have same project here(Laravel 5 Routes - Group Domains from Rows in Database), but I don't know how I should organize my code in routes.php and Custom ServiceProvider ? Can you help me ?

Finally, I want to check the domain with my array (As here), and put in custom view (with 403 code) if the domain is not present. And if exist, return in a variable the ID's domain value for to use it in all Request Eloquent.

Thx.

ps : Sorry for my english (French).



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire