Readd bs-demo page

This commit is contained in:
Jérémy Munsch 2024-02-16 11:35:43 +01:00
parent d476500fdb
commit ff2bcc700f
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC

View file

@ -3,8 +3,11 @@
use App\Http\Controllers\Fo\HomeController;
use Illuminate\Support\Facades\Route;
Route::middleware(['throttle:credentials'])
->name('fo.')
->group(function () {
Route::get('/', [HomeController::class, 'index'])->name('homepage');
});
Route::middleware(['throttle:credentials'])->name('fo.')->group(function () {
// * Dev route only
if (app()->environment() === 'local') {
Route::view('bs-demo', 'fo.pages.bs-demo')->name('bs-demo');
}
Route::get('/', [HomeController::class, 'index'])->name('homepage');
});