Sha256: fb9aefd2d21cfaa51f12e15bdc4574e557ccd13691c3517c5654e7737186e677
Contents?: true
Size: 449 Bytes
Versions: 10
Compression:
Stored size: 449 Bytes
Contents
class Comfy::Admin::Cms::Revisions::SnippetController < Comfy::Admin::Cms::Revisions::BaseController private def load_record @record = @site.snippets.find(params[:snippet_id]) rescue ActiveRecord::RecordNotFound flash[:danger] = I18n.t("comfy.admin.cms.revisions.record_not_found") redirect_to comfy_admin_cms_site_snippets_path(@site) end def record_path edit_comfy_admin_cms_site_snippet_path(@site, @record) end end
Version data entries
10 entries across 10 versions & 1 rubygems