Skip to content

Commit

Permalink
update default routes file
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Mar 22, 2016
1 parent e52b1f7 commit 1d5e88d
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions app/Http/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,19 @@

/*
|--------------------------------------------------------------------------
| Routes File
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you will register all of the routes in an application.
| Here is where you can register all of the routes for 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 () {
return view('welcome');
});
Route::group(['middleware' => ['web']], 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::get('/', function () {
return view('welcome');
});

Route::group(['middleware' => ['web']], function () {
//
});

0 comments on commit 1d5e88d

Please sign in to comment.