Files
wticreatorstudio/Modules/RegistrationFormSteps/Routes/web.php
T
Leonard Biano ec8882046e RegisterFormStep Module Update
Changes for the payment codes
2024-07-25 01:08:16 +08:00

24 lines
1.1 KiB
PHP

<?php
use Modules\RegistrationFormSteps\Http\Controllers\RegistrationFormStepsController;
/*
|--------------------------------------------------------------------------
| 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('registration-form-steps')->group(function() {
Route::get('/', [RegistrationFormStepsController::class, 'index']);
Route::post('/', [RegistrationFormStepsController::class, 'register'])->name('frontend.registration-form-steps.register');
Route::post('/validate', [RegistrationFormStepsController::class, 'validate'])->name('frontend.registration-form-steps.validate');
Route::get('/data', [RegistrationFormStepsController::class, 'data'])->name('frontend.registration-form-steps.data');
});
Route::get('/register/paypal', [RegistrationFormStepsController::class, 'paypal']);
Route::get('/register/{code}', [RegistrationFormStepsController::class, 'registerCode']);