1 year ago

Redirects in routes file?

Posted 1 year ago by skoobi

HI. Im trying to redirect authenticated users from the home page to the dashboard but its not redirecting for some reason.

This is using the snippet from the docs Route::redirect('/here', '/there', 301);

    Route::redirect('/', route('customer.dashboard'), 301);

Any ideas?

Please sign in or create an account to participate in this conversation.