In Laravel 5, if using a resource controller, the model gets loaded automatically and comes through in to the method.
However, I have a query scope checking if my model is active of not. For this one specific case, I'd like to remove that query scope, but leave it on the other methods in the class.
How can I do that? I assume it is in some middleware somewhere, but I can't find where.
Thanks.
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2yemcjR
via IFTTT
Aucun commentaire:
Enregistrer un commentaire