Sha256: 240c3a55bc8899c97cf76eaee688d74c5093da515296456ca54872a07dea47d6
Contents?: true
Size: 572 Bytes
Versions: 1
Compression:
Stored size: 572 Bytes
Contents
module AckRocketCmsCatalog module Models module Item extend ActiveSupport::Concern include RocketCMS::Model include AckRocketCmsCatalog.orm_specific('Item') include Enableable include Seoable include SitemapData include ManualSlug included do manual_slug :name def clean_excerpt Rails::Html::FullSanitizer.new.sanitize(self.excerpt.strip) end def clean_content Rails::Html::FullSanitizer.new.sanitize(self.content.strip) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ack_rocket_cms_catalog-0.2.0 | lib/ack_rocket_cms_catalog/models/item.rb |