Laravel Community Tools by Tighten

Sean Madden

Joined: 12 years ago
Total tricks: 1
Last trick: 12 years ago

Submitted tricks

Catch all routes and paths using the auth filter. A route validation method is added to the Users model called hasAccess($route) and returns true if the user has that route. If the user doesn't have the route the error message will inform of what access they are missing.
somadden 12 years ago 9870