agenda-libre-ruby/app/controllers/maps_controller.rb

12 lines
221 B
Ruby
Raw Normal View History

# Geocoding
#
# Access to OSM controls
class MapsController < ApplicationController
def index
respond_to do |format|
format.html
2014-09-03 02:14:21 +02:00
format.json { render json: Event.moderated.future.geo }
end
end
end