Sha256: 5d8a4c572cb1e578dffaab922e24b87e5d61f2b487e21c7a84adfdf6302c0698
Contents?: true
Size: 290 Bytes
Versions: 4
Compression:
Stored size: 290 Bytes
Contents
require 'redcloth' class StaticMatic::TemplateHandlers::Textile < ActionView::TemplateHandler def render(template, local_assigns = {}) ::RedCloth::new(template.source).to_html end end ActionView::Template.register_template_handler(:textile, StaticMatic::TemplateHandlers::Textile)
Version data entries
4 entries across 4 versions & 1 rubygems