-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Execution order issue with load_and_authorize_resource
?
#531
Comments
@seattlecyclist, do you have some reproduction steps you can share on this? |
@jagthedrummer if you set |
@aaricpittmanj / @seattlecyclist apologies for the delay on this. I think I understand what you're saying about the order that things would (should?) happen, given that we're using I've added this to my main before_action :authenticate_user! And everything in my app still works. I can navigate and create various resources, and the test suite is passing (other than a failure in a test that's expecting us not to have tried to authenticate a user on a non-authenticated route). Can you help me understand more about what problems this is causing and how you trigger the problem? |
@seattlecyclist @aaricpittman Can you guys give the branch from this PR a shot? #730 I removed usage of |
Reported by @seattlecyclist:
The text was updated successfully, but these errors were encountered: