Sha256: df5b024ab232d2dde3ab9c1d281875560e3fadc4755abdeb83d93419ae2db813

Contents?: true

Size: 248 Bytes

Versions: 2

Compression:

Stored size: 248 Bytes

Contents

module RailsGallery
  module Rails
    class Engine < ::Rails::Engine
      initializer 'rails gallery' do
        # puts "Adding RailsGallery::ViewHelper"
        ActionView::Base.send :include, RailsGallery::ViewHelper
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails-gallery-0.3.3 lib/rails-gallery/engine.rb
rails-gallery-0.3.2 lib/rails-gallery/engine.rb