Closed jekhor closed 5 years ago
Move all manual authorize_user! filters in controllers to CanCan *authorize_resource and enable access checking by default.
Может сломаться что угодно, надо вдумчиво потестировать.
Move all manual authorize_user! filters in controllers to CanCan *authorize_resource and enable access checking by default.