Sha256: f35510b4578a5d98379e1829f6d9ce8727dc318f2a2b9fba02b783c775df95a0
Contents?: true
Size: 416 Bytes
Versions: 4
Compression:
Stored size: 416 Bytes
Contents
if defined?(Rails) && Rails::VERSION::MAJOR == 3 module Gmaps4rails require "rails" #require "action_controller" require 'array' require 'hash' require 'application_helper' require 'acts_as_gmappable/base' class Engine < Rails::Engine initializer "static assets" do |app| app.middleware.use ::ActionDispatch::Static, "#{root}/public" end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
gmaps4rails-0.8.3 | lib/gmaps4rails.rb |
gmaps4rails-0.8.2 | lib/gmaps4rails.rb |
gmaps4rails-0.8.1 | lib/gmaps4rails.rb |
gmaps4rails-0.8.0 | lib/gmaps4rails.rb |