Sha256: 2c374797828c4ce827a376934ce9750a0de1f37c99c69ae83212b7ba5381829e
Contents?: true
Size: 473 Bytes
Versions: 1
Compression:
Stored size: 473 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
comfortable_media_surfer-3.0.0 | app/controllers/comfy/admin/cms/revisions/layout_controller.rb |