Sha256: 1e201ad06d56c6cf01d534b68a446cb5e6eab5dab1bac87eea5355c7df84d456
Contents?: true
Size: 475 Bytes
Versions: 17
Compression:
Stored size: 475 Bytes
Contents
# frozen_string_literal: true class Comfy::Admin::Cms::Revisions::LayoutController < Comfy::Admin::Cms::Revisions::BaseController private def load_record @record = @site.layouts.find(params[:layout_id]) rescue ActiveRecord::RecordNotFound flash[:danger] = I18n.t("comfy.admin.cms.revisions.record_not_found") redirect_to comfy_admin_cms_site_layouts_path(@site) end def record_path edit_comfy_admin_cms_site_layout_path(@site, @record) end end
Version data entries
17 entries across 17 versions & 6 rubygems