mirror of
https://gitlab.com/omair-personal/exchange.git
synced 2026-08-19 12:34:13 +00:00
26 lines
1.0 KiB
PHP
26 lines
1.0 KiB
PHP
<?php
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| 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!
|
|
|
|
|
*/
|
|
Route::get('/', 'WelcomeController@index');
|
|
Route::get('password/reset/{token}', 'Auth\ResetPasswordController@showResetForm')->name('password.request');
|
|
Route::post('password/reset', 'Auth\ResetPasswordController@postReset')->name('password.reset');
|
|
Route::group(['middleware' => ['role:admin']], function() {
|
|
Route::get('bulkBookings', function () {
|
|
return view('booking.bulkBooking');
|
|
})->name('booking.bulk.form');
|
|
Route::post('/bulkBookings', 'BulkBookingController@index')->name('booking.bulk');
|
|
});
|
|
Route::get('{path}', 'WelcomeController@index')->where('path', '(.*)');
|
|
Auth::routes();
|
|
|
|
//Route::get('/home', 'WelcomeController@index')->name('home');
|