当我将图片上传到服务器时,请求Ckeditor::PicturesController#create
(它位于gem ckeditor)并显示错误:
CanCan::AuthorizationNotPerformed (This action failed the check_authorization because it does not authorize_resource. Add skip_authorization_check to bypass this check.)
我怎么能不使用monkeypatching(未在skip_authorization_check
中指定Ckeditor::PicturesController
),并以 abillity.rb 或其他方式解决此问题