Sha256: f8ac4e2c4cd285c5309fe5db9dce914e66c5962c70b6c97ed30587121ab6b046

Contents?: true

Size: 270 Bytes

Versions: 3

Compression:

Stored size: 270 Bytes

Contents

module Dryml
  class Railtie
    class PageTagHandler < ActionView::Template::Handler

      self.default_format = Mime::HTML

      def self.call(template)
        "ActionView::Template::Text.new(%q(#{template.source}), Mime::HTML).render"
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dryml-1.3.0.pre12 lib/dryml/railtie/page_tag_handler.rb
dryml-1.3.0.pre11 lib/dryml/railtie/page_tag_handler.rb
dryml-1.3.0.pre10 lib/dryml/railtie/page_tag_handler.rb