Sha256: e55da1907c72e3d9d429a3fe2d15bbb0c896c43460474378c88da2cb215a47f5

Contents?: true

Size: 321 Bytes

Versions: 37

Compression:

Stored size: 321 Bytes

Contents

require_relative './helpers/application_helper'

module Parliament
  module Utils
    class Railtie < Rails::Railtie
      initializer 'parliament-utils.view_helpers' do
        require 'parliament/utils/config/initializers'
        ActionView::Base.send(:include, Helpers::ApplicationHelper)
      end
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
parliament-utils-0.7.0 lib/parliament/utils/railtie.rb
parliament-utils-0.6.1 lib/parliament/utils/railtie.rb
parliament-utils-0.6.0 lib/parliament/utils/railtie.rb
parliament-utils-0.5.0 lib/parliament/utils/railtie.rb
parliament-utils-0.4.2 lib/parliament/utils/railtie.rb
parliament-utils-0.4.1 lib/parliament/utils/railtie.rb
parliament-utils-0.4.0 lib/parliament/utils/railtie.rb
parliament-utils-0.3.2 lib/parliament/utils/railtie.rb
parliament-utils-0.3.1 lib/parliament/utils/railtie.rb
parliament-utils-0.3.0 lib/parliament/utils/railtie.rb
parliament-utils-0.2.5 lib/parliament/utils/railtie.rb
parliament-utils-0.2.4 lib/parliament/utils/railtie.rb
parliament-utils-0.2.3 lib/parliament/utils/railtie.rb
parliament-utils-0.2.2 lib/parliament/utils/railtie.rb
parliament-utils-0.2.1 lib/parliament/utils/railtie.rb
parliament-utils-0.2.0 lib/parliament/utils/railtie.rb
parliament-utils-0.1.0 lib/parliament/utils/railtie.rb