Reputation: 241
I have a persistent error that keeps on popping up. Here's the use case:
Is there a best practice to prevent this altogether? Is it better to have an error page that has a link to the root path where they can log back in?
I appreciate any help at all. Thanks!
Upvotes: 1
Views: 993
Reputation: 6404
According to the documentation if a user is not authenticatable you can redirect to a specific page.
Maybe it is also helpful :
Redirect to log in page if user is not authenticated with Devise
Upvotes: 2