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