Sha256: d698d74a3b756a5fbe2bfcfbcbdf694ffed1583e45aec54d81da80eccc7831dc

Contents?: true

Size: 370 Bytes

Versions: 13

Compression:

Stored size: 370 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)
  ActiveSupport.on_load(:action_view) {Haml.init_rails(binding)}
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
haml-edge-2.3.236 lib/haml/railtie.rb
haml-3.0.0.rc.3 lib/haml/railtie.rb
haml-edge-2.3.235 lib/haml/railtie.rb
haml-edge-2.3.234 lib/haml/railtie.rb
haml-edge-2.3.233 lib/haml/railtie.rb
haml-edge-2.3.230 lib/haml/railtie.rb
haml-edge-2.3.229 lib/haml/railtie.rb
haml-edge-2.3.228 lib/haml/railtie.rb
haml-edge-2.3.227 lib/haml/railtie.rb
haml-edge-2.3.226 lib/haml/railtie.rb
haml-edge-2.3.225 lib/haml/railtie.rb
haml-edge-2.3.224 lib/haml/railtie.rb
haml-edge-2.3.223 lib/haml/railtie.rb