lib/ckeditor/helpers/controllers.rb in ckeditor-4.2.0 vs lib/ckeditor/helpers/controllers.rb in ckeditor-4.2.1
- old
+ new
@@ -11,14 +11,9 @@
def ckeditor_authorize!
instance_exec(&Ckeditor.authorize_with)
end
- def ckeditor_before_create_asset(asset)
- asset.assetable = ckeditor_current_user if ckeditor_current_user
- true
- end
-
def ckeditor_pictures_scope(options = {})
ckeditor_filebrowser_scope(options)
end
def ckeditor_attachment_files_scope(options = {})