Added submission_time and decision_time to all json

remotes/origin/master
echarp 5 years ago
parent c5b9ee5bbc
commit ec8d9596e5

@ -1,5 +1,6 @@
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)

@ -1,3 +1,4 @@
json.extract! @event, :id, :title, :description, :start_time, :end_time,
:submission_time, :decision_time,
:place_name, :address, :city, :region, :locality, :url, :contact,
:tag_list

Loading…
Cancel
Save