2013-12-28 23:45:13 +01:00
|
|
|
json.array!(@events) do |event|
|
2014-08-15 19:28:51 +02:00
|
|
|
json.extract! event, :id, :title, :description, :start_time, :end_time,
|
2015-11-07 15:11:53 +01:00
|
|
|
:place_name, :address, :city, :region_id, :locality, :url,
|
2014-08-24 12:19:45 +02:00
|
|
|
:contact, :submitter, :moderated, :tags, :secret,
|
|
|
|
:decision_time, :submission_time, :moderator_mail_id,
|
|
|
|
:submitter_mail_id
|
2013-12-28 23:45:13 +01:00
|
|
|
json.url event_url(event, format: :json)
|
|
|
|
end
|