Sha256: 505a93490324360beffdf8b3ec097dbeceaf9c0443ed4aded73ee3bf18a3752c

Contents?: true

Size: 304 Bytes

Versions: 3

Compression:

Stored size: 304 Bytes

Contents

if defined?(ActiveSupport)
  require 'haml/template/options'
  ActiveSupport.on_load(:before_initialize) do
    ActiveSupport.on_load(:action_view) do
      require "haml/template"
    end
  end
end

require "haml/helpers/safe_erubis_template"
Haml::Filters::Erb.template_class = Haml::SafeErubisTemplate

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
haml-3.2.0.rc.2 lib/haml/railtie.rb
haml-3.2.0.rc.1 lib/haml/railtie.rb
haml-3.2.0.beta.3 lib/haml/railtie.rb