lib/spontaneous/field/location.rb in spontaneous-0.2.0.beta4 vs lib/spontaneous/field/location.rb in spontaneous-0.2.0.beta5
- old
+ new
@@ -7,10 +7,10 @@
def outputs
[:html, :lat, :lng]
end
- def generate_outputs(input)
+ def generate_outputs(input, site)
values = {}
values[:html] = escape_html(input)
values.update(geolocate(input))
values
end