2020-04-26 04:09:32 +00:00
|
|
|
<?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!
|
|
|
|
|
|
|
|
|
*/
|
2020-04-29 02:20:00 +00:00
|
|
|
Auth::routes();
|
2020-04-26 04:09:32 +00:00
|
|
|
|
2020-04-27 06:28:00 +00:00
|
|
|
Route::get('/','HomeController@index');
|
|
|
|
Route::post('/form/contact', 'ContactController@create')
|
|
|
|
->name('sendSubmission');
|
2020-04-29 02:20:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
Route::group(['middleware' => 'auth'], function(){
|
|
|
|
|
|
|
|
Route::get('/dashboard', 'DashboardController@index');
|
|
|
|
|
2020-04-30 15:38:54 +00:00
|
|
|
Route::group(['prefix' => '/applications'], function (){
|
|
|
|
|
2020-04-30 15:55:14 +00:00
|
|
|
Route::get('/pending', 'ApplicationController@showPendingUserApps');
|
|
|
|
Route::get('/denied', 'ApplicationController@showDeniedUserApps');
|
2020-04-30 15:38:54 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
2020-04-29 02:20:00 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
//Route::get('/dashboard/login', '');
|
|
|
|
|