Class: Maglev::Admin::Sections::ScreenshotsController
- Inherits:
-
BaseController
- Object
- ApplicationController
- Maglev::ApplicationController
- BaseController
- Maglev::Admin::Sections::ScreenshotsController
- Defined in:
- app/controllers/maglev/admin/sections/screenshots_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
7 8 9 10 11 12 13 |
# File 'app/controllers/maglev/admin/sections/screenshots_controller.rb', line 7 def create services.persist_section_screenshot.call( section_id: params[:id], base64_image: params[:screenshot][:base64_image] ) head :created end |