lib/application_helper.rb in gmaps4rails-0.3.0 vs lib/application_helper.rb in gmaps4rails-0.4.0
- old
+ new
@@ -2,6 +2,11 @@
def gmaps4rails_map(builder, options = {})
render :partial => 'gmaps4rails/gmaps4rails', :locals => { :builder => builder, :options => options }
end
+ def gmaps4rails(builder, options = {})
+ options.merge!({ "processing" => 'json' })
+ render :partial => 'gmaps4rails/gmaps4rails', :locals => { :builder => builder, :options => options }
+ end
+
end
\ No newline at end of file