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

14 lines
273 B
Ruby

# Geocoding
#
# Access to OSM controls
class MapsController < ApplicationController
has_scope :region, :locality, :tag
def index
respond_to do |format|
format.html
format.json { render json: apply_scopes(Event.moderated.future.geo) }
end
end
end