Commit 1d5e88d0 authored by Taylor Otwell's avatar Taylor Otwell

update default routes file

parent e52b1f71
...@@ -2,30 +2,19 @@ ...@@ -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 | 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. | and give it the controller to call when that URI is requested.
| |
*/ */
Route::get('/', function () { Route::group(['middleware' => ['web']], function () {
return view('welcome');
});
/* Route::get('/', function () {
|-------------------------------------------------------------------------- return view('welcome');
| 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 () {
//
}); });
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment