agenda-libre-ruby/app/views/events/index.json.jbuilder

9 lines
396 B
Plaintext
Raw Normal View History

2013-12-28 23:45:13 +01:00
json.array!(@events) do |event|
json.extract! event, :id, :title, :description, :start_time, :end_time,
:address, :city, :region_id, :locality, :url, :contact,
: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