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
since root_url shows admin information this endpoint should be enabled for admins only. I suggest that this PR instead of bypass protection of index , redirects to pending terms endpoints (user_terms/pending )
If you visit the root path when logged in as a regular user, the :allow_admins callback redirects to root_path, which creates a circular redirect.
Non-admins should be able to load the app.
Fix is just to add
except: :index
to the callbackThe text was updated successfully, but these errors were encountered: