Files
wticreatorstudio/Modules/WTISignupForms/Routes/web.php
T
2024-02-12 22:54:20 -05:00

29 lines
1.0 KiB
PHP

<?php
use App\Http\Controllers\Auth\RegisterController;
/*
|--------------------------------------------------------------------------
| 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::prefix('wtisignupforms')->group(function() {
Route::get('/',function(){
new \Modules\WTISignupForms\Services\AugmentationService();
dd('Augmentations Successfully Run!');
});
});
Route::get('/client/register',[RegisterController::class, 'showClientRegisterForm']);
Route::post('/client/register',[RegisterController::class, 'clientRegister'])->name('client.register');
Route::get('/staff/register',[RegisterController::class, 'showStaffRegisterForm']);
Route::post('/staff/register',[RegisterController::class, 'staffRegister'])->name('staff.register');