You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
agenda-libre-ruby/app/views/events/index.json.jbuilder

8 lines
310 B

json.array!(@events) do |event|
json.extract! event, :id, :title, :description, :start_time, :end_time,
:submission_time, :decision_time,
:place_name, :address, :city, :region_id, :locality, :url,
:contact, :tags
json.url event_url(event, format: :json)
end