Move direct controller direct view calls to route/web, add global $server to use in views, negating the need to use config('server')

This commit is contained in:
2025-03-14 17:12:24 +11:00
parent de2d139288
commit 8ab5b4f35c
10 changed files with 14 additions and 37 deletions

View File

@@ -31,10 +31,10 @@ Route::get('logout',[LoginController::class,'logout']);
Route::controller(HomeController::class)->group(function() {
Route::middleware(AllowAnonymous::class)->group(function() {
Route::get('/','home');
Route::get('info','info');
Route::get('debug','debug');
Route::view('info','frames.info');
Route::view('debug','debug');
Route::post('frame','frame');
Route::get('import','import_frame');
Route::view('import','frames.import');
Route::get('schema','schema_frame');
Route::group(['prefix'=>'user'],function() {