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