Sha256: 18d54d1eb9d9ff98823505608b0dd4eae6ff00721549fb82efc8e485f4598213
Contents?: true
Size: 396 Bytes
Versions: 3
Compression:
Stored size: 396 Bytes
Contents
module Hyphenify class Railtie < Rails::Railtie initializer 'hyphenify' do ::ActionView::Base.send :include, Hyphenify::ActionView::Base if Rails::VERSION::MAJOR < 4 ::ActionView::Helpers::InstanceTag.send :include, Hyphenify::ActionView::Base else ::ActionView::Helpers::Tags::Base.send :include, Hyphenify::ActionView::Base end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hyphenify-0.0.9 | lib/hyphenify/railtie.rb |
hyphenify-0.0.7 | lib/hyphenify/railtie.rb |
hyphenify-0.0.6 | lib/hyphenify/railtie.rb |