lib/gmaps4rails.rb in gmaps4rails-1.5.0 vs lib/gmaps4rails.rb in gmaps4rails-1.5.1
- old
+ new
@@ -7,10 +7,11 @@
initializer "gmaps4rails view helpers" do |app|
ActionView::Base.send :include, Gmaps4railsHelper
end
initializer "deprecation warning" do |app|
- warn "[Gmaps4rails DEPRECATION]: Javascript Gmaps.map.map is now deprecated and will be removed in later version. Please use Gmaps.map.serviceObject instead."
+ warn "[Gmaps4rails]: DEPRECATION: Javascript Gmaps.map.map is now deprecated and will be removed in later version. Please use Gmaps.map.serviceObject instead."
+ warn "[Gmaps4rails]: Be sure to run 'rails g gmaps4rails:install' to get js and css files in your app they are not added automatically anymore see Readme on Github"
end
end
class Railtie < Rails::Railtie