-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Volio
committed
Apr 14, 2016
1 parent
2e5056f
commit dba5c53
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?php | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Routes File | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Here is where you will register all of the routes in an application. | ||
| It's a breeze. Simply tell Laravel the URIs it should respond to | ||
| and give it the controller to call when that URI is requested. | ||
| | ||
*/ | ||
|
||
//Route::get('/', function () { | ||
// // | ||
//}); | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Application Routes | ||
|-------------------------------------------------------------------------- | ||
| | ||
| This route group applies the "web" middleware group to every route | ||
| it contains. The "web" middleware group is defined in your HTTP | ||
| kernel and includes session state, CSRF protection, and more. | ||
| | ||
*/ | ||
|
||
Route::group(['middleware' => ['web']], function () { | ||
Route::get('/','ShowController@index')->name('index'); | ||
Route::get('/u/{id}','ShowController@show'); | ||
}); | ||
|
||
Route::group(['middleware' => ['web']], function () { | ||
Route::auth(); | ||
Route::controller('account', 'AccountController'); | ||
}); |