我需要在管理人员中使用Pundit。我已经按照本教程进行了学习:https://github.com/thoughtbot/administrate/blob/master/docs/authorization.md,但没有成功。
https://github.com/thoughtbot/administrate/blob/master/docs/authorization.md
include Administrate::Punditize