Class: Qbrick::Cms::CkimagesController
- Inherits:
-
BackendController
- Object
- ActionController::Base
- BackendController
- Qbrick::Cms::CkimagesController
- Defined in:
- app/controllers/qbrick/cms/ckimages_controller.rb
Instance Method Summary collapse
Methods inherited from BackendController
#default_url_options, #reset_remembered_locale, #set_content_locale
Instance Method Details
#create ⇒ Object
8 9 10 11 12 |
# File 'app/controllers/qbrick/cms/ckimages_controller.rb', line 8 def create @func_num = params['CKEditorFuncNum'] @ck_editor = params['CKEditor'] @ckimage = Qbrick::Ckimage.create(file: params[:upload]) end |