lib/gmaps4rails.rb in gmaps4rails-1.0.2 vs lib/gmaps4rails.rb in gmaps4rails-1.1.0
- old
+ new
@@ -11,12 +11,10 @@
initializer "gmaps4rails view helpers" do |app|
ActionView::Base.send :include, Gmaps4railsHelper
end
initializer "add asset directories to pipeline" do |app|
if Rails::VERSION::MINOR >= 1
- app.config.assets.paths << "#{root}/public/javascripts"
app.config.assets.paths << "#{root}/public/stylesheets"
- app.config.assets.paths << "#{root}/public/images"
else
app.middleware.use ::ActionDispatch::Static, "#{root}/public"
end
end
end
\ No newline at end of file