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

7 lines
260 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,
2015-11-07 15:11:53 +01:00
:place_name, :address, :city, :region_id, :locality, :url,
:contact, :tags
2013-12-28 23:45:13 +01:00
json.url event_url(event, format: :json)
end