Created
February 16, 2016 01:34
-
-
Save milon/71894ae3390ad2375f28 to your computer and use it in GitHub Desktop.
Laravel Route Example
This file contains hidden or 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('/', function() { | |
| return 'Hello World'; | |
| }); | |
| Route::get('/login', 'AuthController@loginForm'); | |
| Route::post('/login', 'AuthController@postLogin'); | |
| Route::delete('/logout', 'AuthController@logout'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment