Revision | 87f36d855a29fe598e76d151b6e9cbefde4c82bf (tree) |
---|---|
Time | 2020-08-31 02:53:18 |
Author | HMML <hmml3939@gmai...> |
Commiter | HMML |
Fix rails_admin setting.
@@ -8,8 +8,8 @@ RailsAdmin.config do |config| | ||
8 | 8 | end |
9 | 9 | config.current_user_method(&:current_user) |
10 | 10 | |
11 | - ## == Cancan == | |
12 | - config.authorize_with :cancan | |
11 | + ## == CancanCan == | |
12 | + config.authorize_with :cancancan | |
13 | 13 | |
14 | 14 | ## == Pundit == |
15 | 15 | # config.authorize_with :pundit |