Sha256: 2e4c7189d856ab25db7833e497fbe9f39178d28e8d804127f4ed8ee12566c2ad

Contents?: true

Size: 258 Bytes

Versions: 23

Compression:

Stored size: 258 Bytes

Contents

require "rails"

module Exvo
  class Railtie < Rails::Railtie
    initializer "exvo_helpers.add_to_rails_view_helpers" do |app|
      ActiveSupport.on_load :action_view do
        ActionView::Base.send :include, Exvo::ViewHelpers
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
exvo_helpers-0.6.5 lib/exvo_helpers/railtie.rb
exvo_helpers-0.6.4 lib/exvo_helpers/railtie.rb
exvo_helpers-0.6.3 lib/exvo_helpers/railtie.rb
exvo_helpers-0.6.2 lib/exvo_helpers/railtie.rb
exvo_helpers-0.6.1 lib/exvo_helpers/railtie.rb
exvo_helpers-0.6.0 lib/exvo_helpers/railtie.rb
exvo_helpers-0.5.3 lib/exvo_helpers/railtie.rb
exvo_helpers-0.5.2 lib/exvo_helpers/railtie.rb
exvo_helpers-0.5.1 lib/exvo_helpers/railtie.rb
exvo_helpers-0.5.0 lib/exvo_helpers/railtie.rb
exvo_helpers-0.4.0 lib/exvo_helpers/railtie.rb
exvo_helpers-0.3.0 lib/exvo_helpers/railtie.rb
exvo_helpers-0.2.2 lib/exvo_helpers/railtie.rb
exvo_helpers-0.2.1 lib/exvo_helpers/railtie.rb
exvo_helpers-0.2.0 lib/exvo_helpers/railtie.rb
exvo_helpers-0.1.1 lib/exvo_helpers/railtie.rb
exvo_helpers-0.1.0 lib/exvo_helpers/railtie.rb
exvo_helpers-0.0.8 lib/exvo_helpers/railtie.rb
exvo_helpers-0.0.7 lib/exvo_helpers/railtie.rb
exvo_helpers-0.0.6 lib/exvo_helpers/railtie.rb