name('sendSubmission'); Route::group(['middleware' => 'auth'], function(){ Route::group(['prefix' => '/applications'], function (){ Route::get('/pending', 'ApplicationController@showPendingUserApps') ->name('userPendingApps'); Route::get('/denied', 'ApplicationController@showDeniedUserApps') ->name('userDeniedApps'); Route::get('/approved', 'ApplicationController@showApprovedApps') ->name('userApprovedApps'); }); Route::group(['prefix' => '/profile'], function (){ Route::get('/settings', 'ProfileController@index'); }); Route::group(['prefix' => '/applications'], function (){ Route::get('/staff/outstanding', 'ApplicationController@showAllPendingApps'); }); }); //Route::get('/dashboard/login', '');