Fixes the configuration file
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
Route::post('/logout', [SocialiteController::class, 'logout'])->name('logout')->middleware('auth');
|
||||
|
||||
// Questionnaire routes (authenticated)
|
||||
Route::middleware('auth')->group(function () {
|
||||
Route::middleware('auth')->missing(fn () => redirect('/'))->group(function () {
|
||||
// Screening routes
|
||||
Route::post('/screening', [ScreeningController::class, 'store'])->name('screening.store');
|
||||
Route::get('/screening/{screening}', [ScreeningController::class, 'show'])->name('screening.show');
|
||||
@@ -42,4 +42,3 @@
|
||||
|
||||
return redirect('/');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user