Closed Kashoid23 closed 4 years ago
I don't need action cancel (cancel subscription) but when I specify specific actions through Can can can gem
Before:
can :manage, Subscription
After:
can [:index, :show, :edit, :update, :new, :create], Subscription
it redirects me to Unauthorized
Filter chain halted as: load_subscription rendered or redirected Completed 401 Unauthorized in 466ms (Views: 262.0ms | ActiveRecord: 56.0ms | Allocations: 173633)
I don't need action cancel (cancel subscription) but when I specify specific actions through Can can can gem
Before:
After:
it redirects me to Unauthorized