diff options
| author | Thomas Haddad | 2017-03-03 14:35:54 +0100 | 
|---|---|---|
| committer | Thomas Haddad | 2017-03-03 14:35:54 +0100 | 
| commit | f1fd7b26ed4f54abcb7304a4aaa2bb7d5a2dcb14 (patch) | |
| tree | 5598700926e37370910fd53e8ea1ce7921e53ef5 | |
| parent | c25553756c018b8ce827e11dfaf613744b3659d8 (diff) | |
| download | chouette-core-f1fd7b26ed4f54abcb7304a4aaa2bb7d5a2dcb14.tar.bz2 | |
Fix time_tables attributes in rabl
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
Signed-off-by: Xinhui Xu <xinhui.xu@af83.com>
| -rw-r--r-- | app/views/autocomplete_time_tables/index.rabl | 2 | ||||
| -rw-r--r-- | app/views/vehicle_journeys/show.rabl | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/app/views/autocomplete_time_tables/index.rabl b/app/views/autocomplete_time_tables/index.rabl index 0389c26b0..8ec7b314e 100644 --- a/app/views/autocomplete_time_tables/index.rabl +++ b/app/views/autocomplete_time_tables/index.rabl @@ -1,7 +1,7 @@  collection @time_tables, :object_root => false  node do |time_table| -  { :id => time_table.id, :comment => time_table.comment, +  { :id => time_table.id, :comment => time_table.comment, :objectid => time_table.objectid,      :time_table_bounding => time_table.presenter.time_table_bounding,      :composition_info => time_table.presenter.composition_info,      :tags => time_table.tags.join(','), diff --git a/app/views/vehicle_journeys/show.rabl b/app/views/vehicle_journeys/show.rabl index 209b8371d..620b6430e 100644 --- a/app/views/vehicle_journeys/show.rabl +++ b/app/views/vehicle_journeys/show.rabl @@ -9,7 +9,7 @@ child(:journey_pattern) do |journey_pattern|  end  child(:time_tables, :object_root => false) do |time_tables| -  attributes :objectid, :comment +  attributes :id, :objectid, :comment    child(:calendar) do      attributes :id, :name, :date_ranges, :dates, :shared    end | 
