You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there I'm using v1.5.0, devise for regular users, and rails 5.0.2, and notice that my overrides for where to redirect on logout just don't work in production environments. They redirect only to the admin login page instead of the home page.
Do you have any idea why that could be happening? I know I could probably override the base controller files but trying the concern route isn't working.
Thanks
The text was updated successfully, but these errors were encountered:
Are you using multiple models for devise users or did you add a role to Fae::User for regular users?
I just did a test and defining after_sign_out_path_for in the ApplicationControllerConcern doesn't override the method in Fae::ApplicationController. Likely because it's a private method.
Your options would be to monkey patch Fae::ApplicationController or we could provide an logout redirect option in the Fae initializer. This would be a feature request that may not get addressed by us immediately, but we welcome PRs 😉.
Hi there I'm using v1.5.0, devise for regular users, and rails 5.0.2, and notice that my overrides for where to redirect on logout just don't work in production environments. They redirect only to the admin login page instead of the home page.
Do you have any idea why that could be happening? I know I could probably override the base controller files but trying the concern route isn't working.
Thanks
The text was updated successfully, but these errors were encountered: