Class: Ckeditor::AttachmentFilesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- Ckeditor::AttachmentFilesController
- Defined in:
- app/controllers/ckeditor/attachment_files_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
10 11 12 13 |
# File 'app/controllers/ckeditor/attachment_files_controller.rb', line 10 def create = Ckeditor..new respond_with_asset() end |
#destroy ⇒ Object
15 16 17 18 |
# File 'app/controllers/ckeditor/attachment_files_controller.rb', line 15 def destroy .destroy respond_with(, :location => ) end |
#index ⇒ Object
3 4 5 6 7 8 |
# File 'app/controllers/ckeditor/attachment_files_controller.rb', line 3 def index = Ckeditor..find_all() = Ckeditor::Paginatable.new().page(params[:page]) respond_with(, :layout => .first_page?) end |