Added route

This commit is contained in:
Julian Prieber 2022-05-24 15:23:10 +02:00
parent a20ae1d59f
commit 496b4755b6
3 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1 @@

View File

@ -0,0 +1 @@

View File

@ -81,6 +81,7 @@ Route::post('/panel/pages', [AdminController::class, 'editSitePage'])->name('edi
Route::get('/panel/site', [AdminController::class, 'showSite'])->name('showSite'); Route::get('/panel/site', [AdminController::class, 'showSite'])->name('showSite');
Route::post('/panel/site', [AdminController::class, 'editSite'])->name('editSite'); Route::post('/panel/site', [AdminController::class, 'editSite'])->name('editSite');
Route::get('/panel/phpinfo', [AdminController::class, 'phpinfo'])->name('phpinfo'); Route::get('/panel/phpinfo', [AdminController::class, 'phpinfo'])->name('phpinfo');
Route::get('/update', function () {return view('update', []);});
}); });
require __DIR__.'/auth.php'; require __DIR__.'/auth.php';