Sha256: af60a91cf1b0dcbf15b6b553fedbeb52880aadb6175b243aab26d342775584ae

Contents?: true

Size: 442 Bytes

Versions: 10

Compression:

Stored size: 442 Bytes

Contents

# This file is here to integrate with Rails 3,
# since there's no better way to do so as of 14 March 2010.
# Yehuda promises there will be soon,
# and once there is we should switch to that.

# Rails 3.0.0.beta.2+
if defined?(ActiveSupport) && Haml::Util.has?(:public_method, ActiveSupport, :on_load)
  require 'haml/template/options'
  require 'sass/plugin/configuration'
  ActiveSupport.on_load(:action_view) {Haml.init_rails(binding)}
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
haml-edge-3.1.11 lib/haml/railtie.rb
haml-edge-3.1.10 lib/haml/railtie.rb
haml-edge-3.1.9 lib/haml/railtie.rb
haml-edge-3.1.8 lib/haml/railtie.rb
haml-edge-3.1.7 lib/haml/railtie.rb
haml-edge-3.1.6 lib/haml/railtie.rb
haml-edge-3.1.5 lib/haml/railtie.rb
haml-edge-3.1.4 lib/haml/railtie.rb
haml-3.0.2 lib/haml/railtie.rb
haml-3.0.1 lib/haml/railtie.rb