Sha256: 3f712e59a3e5484dc1ff759dd5244209fffbdd9183551a468bcd0ed65b9b7206

Contents?: true

Size: 260 Bytes

Versions: 3

Compression:

Stored size: 260 Bytes

Contents

require 'bourgeois'
require 'rails'

module Bourgeois
  class Railtie < Rails::Railtie
    initializer 'bourgeois.action_view' do |app|
      ActiveSupport.on_load :action_view do
        ActionView::Base.send(:include, ViewHelper)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bourgeois-0.1.1 lib/bourgeois/railtie.rb
bourgeois-0.1 lib/bourgeois/railtie.rb
bourgeois-0.0.1 lib/bourgeois/railtie.rb