Skip to content
Extraits de code Groupes Projets
maps_controller.rb 268 o
# Geocoding
#
# Access to OSM controls
class MapsController < ApplicationController
  def index
    respond_to do |format|
      format.html
      format.json do
        render json: Event.moderated.future.geo.map { |event| event.to_json }
      end
    end
  end
end