Sha256: d2e64e441e520a62f74614dc60a933f7e875f6b16b7660fe5e65bc48c094c7d2

Contents?: true

Size: 399 Bytes

Versions: 1

Compression:

Stored size: 399 Bytes

Contents

require 'c80_lazy_images'

module C80Callback
  class ApplicationController < ActionController::Base

    helper C80LazyImages::Engine.helpers

    protect_from_forgery with: :exception

    # обрабатываем запрос от `.c80_callback_show_popup` кнопок за popup формой
    def callback_popup
      respond_to do |format|
        format.js
      end
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
c80_callback-0.1.0.2 app/controllers/c80_callback/application_controller.rb