I have a Laravel app that requires getting some config vars that need to be used by most of my controllers. Therefore it seems like this would be the perfect time to use middleware. Is this the correct use of middleware? and if so, once the middleware gets the config vars, is it best practice to add these to the request object so they can be accessed by my controller? Thanks to any responders. J
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1W8aX15
via IFTTT
Aucun commentaire:
Enregistrer un commentaire