staffmanager/routes/web.php
Miguel N 045b0c42f6 Added Under Review page
The user applications page has been added into the app.
2020-04-30 16:38:54 +01:00

36 lines
888 B
PHP

<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
Auth::routes();
Route::get('/','HomeController@index');
Route::post('/form/contact', 'ContactController@create')
->name('sendSubmission');
Route::group(['middleware' => 'auth'], function(){
Route::get('/dashboard', 'DashboardController@index');
Route::group(['prefix' => '/applications'], function (){
Route::get('/pending', 'ApplicationController@showPendingUserApplications');
});
});
//Route::get('/dashboard/login', '');