Sha256: 269ae80fd7c8adc32e374cb2618e4876803f33a854619c28813eae151db7b07f
Contents?: true
Size: 609 Bytes
Versions: 4
Compression:
Stored size: 609 Bytes
Contents
if defined?(Rails) && Rails::VERSION::MAJOR == 3 module Gmaps4rails require 'rails' require 'gmaps4rails/base' require 'gmaps4rails/acts_as_gmappable' require 'gmaps4rails/extensions/array' require 'gmaps4rails/extensions/hash' require 'gmaps4rails/helper/gmaps4rails_helper' class Engine < Rails::Engine initializer "static assets" do |app| app.middleware.use ::ActionDispatch::Static, "#{root}/public" end initializer "gmaps4rails view helpers" do |app| ActionView::Base.send :include, Gmaps4railsHelper end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
gmaps4rails-0.10.2 | lib/gmaps4rails.rb |
gmaps4rails-0.10.1 | lib/gmaps4rails.rb |
gmaps4rails-0.10.0 | lib/gmaps4rails.rb |
gmaps4rails-0.10.0.pre1 | lib/gmaps4rails.rb |