textile_article.rb 271 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 class TextileArticle < Article def self.short_description _('Text article with Textile markup language') end def self.description _('Accessible alternative for visually impaired users.') end def to_html RedCloth.new(self.body).to_html end end