Sha256: 81d95ef961f95169db2e18d73bcf9cbc581ffb903d9a848d1f83319ab5d86d88
Contents?: true
Size: 303 Bytes
Versions: 1
Compression:
Stored size: 303 Bytes
Contents
module Catarse class StaticContent < ActiveRecord::Base validates_presence_of :title, :body auto_html_for :body do html_escape :map => { '&' => '&', '>' => '>', '<' => '<', '"' => '"' } redcloth :target => :_blank link :target => :_blank end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
catarse_core-1.0.0.beta | app/models/catarse/static_content.rb |