lib/gmaps4rails.rb in gmaps4rails-1.4.8 vs lib/gmaps4rails.rb in gmaps4rails-1.5.0.pre
- old
+ new
@@ -6,17 +6,9 @@
initializer "gmaps4rails view helpers" do |app|
ActionView::Base.send :include, Gmaps4railsHelper
end
- initializer "add asset directories to pipeline" do |app|
- if Rails::VERSION::MAJOR >= 3 && Rails::VERSION::MINOR >= 1
- app.config.assets.paths << "#{root}/public/stylesheets"
- else
- app.middleware.use ::ActionDispatch::Static, "#{root}/public"
- end
- end
-
end
class Railtie < Rails::Railtie
initializer "include acts_as_gmappable within ORM" do