Added submission_time and decision_time to all json
This commit is contained in:
parent
c5b9ee5bbc
commit
ec8d9596e5
@ -1,5 +1,6 @@
|
|||||||
json.array!(@events) do |event|
|
json.array!(@events) do |event|
|
||||||
json.extract! event, :id, :title, :description, :start_time, :end_time,
|
json.extract! event, :id, :title, :description, :start_time, :end_time,
|
||||||
|
:submission_time, :decision_time,
|
||||||
:place_name, :address, :city, :region_id, :locality, :url,
|
:place_name, :address, :city, :region_id, :locality, :url,
|
||||||
:contact, :tags
|
:contact, :tags
|
||||||
json.url event_url(event, format: :json)
|
json.url event_url(event, format: :json)
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
json.extract! @event, :id, :title, :description, :start_time, :end_time,
|
json.extract! @event, :id, :title, :description, :start_time, :end_time,
|
||||||
|
:submission_time, :decision_time,
|
||||||
:place_name, :address, :city, :region, :locality, :url, :contact,
|
:place_name, :address, :city, :region, :locality, :url, :contact,
|
||||||
:tag_list
|
:tag_list
|
||||||
|
Loading…
Reference in New Issue
Block a user