Sha256: c7e594c1c6f6067c9a954f39c970fc2e90ae6fa823fbc04891d159cbebf62258

Contents?: true

Size: 419 Bytes

Versions: 25

Compression:

Stored size: 419 Bytes

Contents

module Alchemy
  module Admin
    module ArchiveOverlay
      private

      def in_overlay?
        params[:content_id].present?
      end

      def archive_overlay
        @content = Content.find_by(id: params[:content_id])

        respond_to do |format|
          format.html { render partial: 'archive_overlay' }
          format.js   { render action:  'archive_overlay' }
        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
alchemy_cms-4.6.7 app/controllers/concerns/alchemy/admin/archive_overlay.rb
alchemy_cms-4.6.6 app/controllers/concerns/alchemy/admin/archive_overlay.rb
alchemy_cms-4.6.5 app/controllers/concerns/alchemy/admin/archive_overlay.rb
alchemy_cms-4.5.1 app/controllers/concerns/alchemy/admin/archive_overlay.rb
alchemy_cms-4.4.5 app/controllers/concerns/alchemy/admin/archive_overlay.rb
alchemy_cms-4.6.4 app/controllers/concerns/alchemy/admin/archive_overlay.rb
alchemy_cms-4.6.3 app/controllers/concerns/alchemy/admin/archive_overlay.rb
alchemy_cms-4.6.2 app/controllers/concerns/alchemy/admin/archive_overlay.rb
alchemy_cms-4.6.1 app/controllers/concerns/alchemy/admin/archive_overlay.rb
alchemy_cms-4.6.0 app/controllers/concerns/alchemy/admin/archive_overlay.rb
alchemy_cms-4.5.0 app/controllers/concerns/alchemy/admin/archive_overlay.rb
alchemy_cms-4.4.4 app/controllers/concerns/alchemy/admin/archive_overlay.rb
alchemy_cms-4.4.3 app/controllers/concerns/alchemy/admin/archive_overlay.rb
alchemy_cms-4.4.2 app/controllers/concerns/alchemy/admin/archive_overlay.rb
alchemy_cms-4.4.1 app/controllers/concerns/alchemy/admin/archive_overlay.rb
alchemy_cms-4.4.0 app/controllers/concerns/alchemy/admin/archive_overlay.rb
alchemy_cms-4.3.2 app/controllers/concerns/alchemy/admin/archive_overlay.rb
alchemy_cms-4.2.4 app/controllers/concerns/alchemy/admin/archive_overlay.rb
alchemy_cms-4.3.1 app/controllers/concerns/alchemy/admin/archive_overlay.rb
alchemy_cms-4.2.3 app/controllers/concerns/alchemy/admin/archive_overlay.rb