Use route instead

This commit is contained in:
Lance Pioch
2025-01-06 17:35:05 -05:00
parent e5418491c8
commit b197e73173
3 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ return Application::configure(basePath: dirname(__DIR__))
health: '/up',
)
->withMiddleware(function (Middleware $middleware) {
$middleware->redirectGuestsTo(fn () => route('auth.login'));
$middleware->redirectGuestsTo(fn () => route('filament.app.auth.login'));
$middleware->web(\App\Http\Middleware\LanguageMiddleware::class);