Sha256: bb4fc0d9553a0d0a1eaa810d5c912c523fb6b566e641252989f6a24c7c5e09bc
Contents?: true
Size: 449 Bytes
Versions: 48
Compression:
Stored size: 449 Bytes
Contents
# frozen_string_literal: true 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
48 entries across 48 versions & 1 rubygems