name('sendSubmission'); Route::group(['middleware' => 'auth'], function(){ Route::get('/dashboard', 'DashboardController@index'); Route::group(['prefix' => '/applications'], function (){ Route::get('/pending', 'ApplicationController@showPendingUserApps'); Route::get('/denied', 'ApplicationController@showDeniedUserApps'); }); }); //Route::get('/dashboard/login', '');