Sha256: 9947451dd86fa24292721023107c96cfda735c8c9000c18aaa7199ed08058475
Contents?: true
Size: 482 Bytes
Versions: 3
Compression:
Stored size: 482 Bytes
Contents
module Dryml class Railtie < Rails::Railtie ActiveSupport.on_load(:before_initialize) do |app| require 'dryml' require 'dryml/template' require 'dryml/dryml_generator' end ActiveSupport.on_load(:action_controller) do require 'dryml/extensions/action_controller/dryml_methods' end ActiveSupport.on_load(:action_view) do ActionView::Template.register_template_handler("dryml", Dryml::Railtie::TemplateHandler) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dryml-1.3.0.pre12 | lib/dryml/railtie.rb |
dryml-1.3.0.pre11 | lib/dryml/railtie.rb |
dryml-1.3.0.pre10 | lib/dryml/railtie.rb |