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
It would be nice if this method either returned the policy class checked, or if there was some way to determine this without re-implementing the policy lookup logic.
It would be nice if this method either returned the policy class checked, or if there was some way to determine this without re-implementing the policy lookup logic.
pundit/lib/pundit.rb
Line 76 in 56af8f3
One way would be to split this into two methods:
Would you accept a PR for this?
The text was updated successfully, but these errors were encountered: