Sha256: 4336e84e756dc37afe035e44e640e1ec45a002e537e309562a7219471fde2c48
Contents?: true
Size: 512 Bytes
Versions: 3
Compression:
Stored size: 512 Bytes
Contents
Kms::PagesController.class_eval do wrap_parameters :page, include: [:title, :slug, :content, :published, :template_id, :templatable,:templatable_type,:position,:hidden, :parent_id, :seo_title, :seo_keywords, :seo_description, :seo_h1] protected def page_params params.require(:page).permit( :title, :slug, :content, :published, :hidden, :template_id, :parent_id, :position, :templatable, :templatable_type, :seo_title, :seo_keywords, :seo_description, :seo_h1 ) end end
Version data entries
3 entries across 3 versions & 1 rubygems