master_template/routes/route.client.php

21 lines
740 B
PHP
Raw Normal View History

2024-06-10 12:21:58 +00:00
<?php
2024-06-13 15:17:05 +00:00
use App\Http\Controllers\Auth\AuthenticationController;
2024-06-10 12:21:58 +00:00
use App\Http\Controllers\WebsiteController;
use Illuminate\Support\Facades\Route;
2024-06-13 15:17:05 +00:00
$ccms = new CCMS();
define('SITEVARS', CCMS::getSiteVars());
Route::get('/userlogin',[AuthenticationController::class, 'login'])->name("userLogin");
Route::post('/postlogin',[AuthenticationController::class, 'authenticate'])->name("postLogin");
Route::get('/userregister',[AuthenticationController::class,'register'])->name("userRegister");
2024-06-10 12:21:58 +00:00
2024-06-13 15:17:05 +00:00
Route::post('/postresgistration',[AuthenticationController::class,'store'])->name("postresgistration");
Route::get('/', [WebsiteController::class, 'home'])->name("home");
Route::get('/single',[WebsiteController::class, 'single'])->name("single");