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
{{ message }}
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.
This will result in an error 404 on all actions with a shallow path. I dug into cancan a little and found that in load_resource_instance on line 69, the find_resource resulted in the exception #<ActiveRecord::RecordNotFound: Couldn't find Company with id=> when I called the users_controller with http://localhost:3000/users/3/edit.
Version 1.6.9 works fine, so I reverted to that.
The text was updated successfully, but these errors were encountered:
Version 1.6.10 fails to successfully load the parent resource, in case of nested resources. E.g. on my users_controller, I have:
This will result in an error 404 on all actions with a shallow path. I dug into cancan a little and found that in
load_resource_instance
on line 69, thefind_resource
resulted in the exception#<ActiveRecord::RecordNotFound: Couldn't find Company with id=>
when I called the users_controller withhttp://localhost:3000/users/3/edit
.Version 1.6.9 works fine, so I reverted to that.
The text was updated successfully, but these errors were encountered: