Sha256: 513a54b60ce7db836a475bc625577544f4eb98f6549592dd1042ab46b0ab0c49

Contents?: true

Size: 376 Bytes

Versions: 24

Compression:

Stored size: 376 Bytes

Contents

# frozen_string_literal: true

module Maglev
  module Admin
    module Sections
      class ScreenshotsController < BaseController
        def create
          services.persist_section_screenshot.call(
            section_id: params[:id],
            base64_image: params[:screenshot][:base64_image]
          )
          head :created
        end
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
maglevcms-1.7.3 app/controllers/maglev/admin/sections/screenshots_controller.rb
maglevcms-1.7.2 app/controllers/maglev/admin/sections/screenshots_controller.rb
maglevcms-1.7.1 app/controllers/maglev/admin/sections/screenshots_controller.rb
maglevcms-1.7.0 app/controllers/maglev/admin/sections/screenshots_controller.rb
maglevcms-1.6.1 app/controllers/maglev/admin/sections/screenshots_controller.rb
maglevcms-1.6.0 app/controllers/maglev/admin/sections/screenshots_controller.rb
maglevcms-1.5.1 app/controllers/maglev/admin/sections/screenshots_controller.rb
maglevcms-1.4.0 app/controllers/maglev/admin/sections/screenshots_controller.rb
maglevcms-1.3.0 app/controllers/maglev/admin/sections/screenshots_controller.rb
maglevcms-1.2.2 app/controllers/maglev/admin/sections/screenshots_controller.rb
maglevcms-1.2.1 app/controllers/maglev/admin/sections/screenshots_controller.rb
maglevcms-1.2.0 app/controllers/maglev/admin/sections/screenshots_controller.rb
maglevcms-1.1.7 app/controllers/maglev/admin/sections/screenshots_controller.rb
maglevcms-1.1.6 app/controllers/maglev/admin/sections/screenshots_controller.rb
maglevcms-1.1.5 app/controllers/maglev/admin/sections/screenshots_controller.rb
maglevcms-1.1.4 app/controllers/maglev/admin/sections/screenshots_controller.rb
maglevcms-1.1.3 app/controllers/maglev/admin/sections/screenshots_controller.rb
maglevcms-1.1.2 app/controllers/maglev/admin/sections/screenshots_controller.rb
maglevcms-1.1.1 app/controllers/maglev/admin/sections/screenshots_controller.rb
maglevcms-1.1.0 app/controllers/maglev/admin/sections/screenshots_controller.rb