samedi 3 juin 2017

Check whether Laravel Controller Action is defined

I have an application where I will be storing links in the database allowing the user to assign actions to the link. I want to avoid the situation where the action does not exist and I get this error;

Action App\Http\Controllers\PermissionController@index2 not defined.

So I would like to check whether an action exists and has route. If possible in blade but anywhere else is fine.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2rQo5jl
via IFTTT

Aucun commentaire:

Enregistrer un commentaire