lib/hyphenify/railtie.rb in hyphenify-0.0.9 vs lib/hyphenify/railtie.rb in hyphenify-0.1.0
- old
+ new
@@ -1,14 +1,10 @@
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
+ ::ActionView::Helpers::Tags::Base.send :include, Hyphenify::ActionView::Base
end
end
end