Sha256: baac46cb63dbc482e8300ede30df40d34b7880e845c63aca93fa54035dd87c5c
Contents?: true
Size: 558 Bytes
Versions: 3
Compression:
Stored size: 558 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. if defined?(ActiveSupport) && Haml::Util.has?(:public_method, ActiveSupport, :on_load) # Rails 3.0.0.beta.2+ ActiveSupport.on_load(:action_view) {Haml.init_rails(binding)} elsif defined?(Rails::Railtie) # Rails 3.0.0.beta1 module Haml class Railtie < Rails::Railtie initializer :haml do Haml.init_rails(binding) end end end end
Version data entries
3 entries across 3 versions & 3 rubygems
Version | Path |
---|---|
radiantcms-couchrest_model-0.1.4 | vendor/plugins/haml/lib/haml/railtie.rb |
radiant-0.9.1 | vendor/plugins/haml/lib/haml/railtie.rb |
haml-2.2.24 | lib/haml/railtie.rb |