'user', 'middleware' => ['auth', 'check.auth']], function () { Route::get('/', 'UserController@index'); Route::prefix('account')->group(function () { Route::get('/', 'UserController@profile'); Route::post('update', 'UserController@update'); }); });