Last active
May 8, 2020 13:25
-
-
Save nicolaskempf57/5d472b50fbbd83486218d4f2625ce6e2 to your computer and use it in GitHub Desktop.
Example route with middleware for my blog post on Laravel Middleware https://medium.com/blog-justenico/laravel-les-middlewares-59b651d80b10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
Route::get('admin/profile', "MonController@fonction")->middleware(CheckAge::class); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment