module Ckeditor::Helpers::Controllers
Protected Instance Methods
ckeditor_attachment_files_scope(options = {})
click to toggle source
# File lib/ckeditor/helpers/controllers.rb, line 20 def ckeditor_attachment_files_scope(options = {}) ckeditor_filebrowser_scope(options) end
ckeditor_current_user()
click to toggle source
# File lib/ckeditor/helpers/controllers.rb, line 8 def ckeditor_current_user instance_exec(&Ckeditor.current_user_method) end
ckeditor_filebrowser_scope(options = {})
click to toggle source
# File lib/ckeditor/helpers/controllers.rb, line 24 def ckeditor_filebrowser_scope(options = {}) { order: [:id, :desc] }.merge!(options) end
ckeditor_pictures_scope(options = {})
click to toggle source
# File lib/ckeditor/helpers/controllers.rb, line 16 def ckeditor_pictures_scope(options = {}) ckeditor_filebrowser_scope(options) end