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.11.3 lib/parliament/utils/railtie.rb
parliament-utils-0.11.2 lib/parliament/utils/railtie.rb
parliament-utils-0.11.1 lib/parliament/utils/railtie.rb
parliament-utils-0.11.0 lib/parliament/utils/railtie.rb
parliament-utils-0.10.2 lib/parliament/utils/railtie.rb
parliament-utils-0.10.1 lib/parliament/utils/railtie.rb
parliament-utils-0.10.0 lib/parliament/utils/railtie.rb
parliament-utils-0.9.1 lib/parliament/utils/railtie.rb
parliament-utils-0.9.0 lib/parliament/utils/railtie.rb
parliament-utils-0.8.7 lib/parliament/utils/railtie.rb
parliament-utils-0.8.6 lib/parliament/utils/railtie.rb
parliament-utils-0.8.5 lib/parliament/utils/railtie.rb
parliament-utils-0.8.4 lib/parliament/utils/railtie.rb
parliament-utils-0.8.3 lib/parliament/utils/railtie.rb
parliament-utils-0.8.2 lib/parliament/utils/railtie.rb
parliament-utils-0.8.1 lib/parliament/utils/railtie.rb
parliament-utils-0.8.0 lib/parliament/utils/railtie.rb
parliament-utils-0.7.3 lib/parliament/utils/railtie.rb
parliament-utils-0.7.2 lib/parliament/utils/railtie.rb
parliament-utils-0.7.1 lib/parliament/utils/railtie.rb