diff options
| author | Xinhui | 2017-05-22 11:23:20 +0200 |
|---|---|---|
| committer | Xinhui | 2017-05-22 11:23:20 +0200 |
| commit | 61cffec83b8d83fd330175cd9798cecd9338e967 (patch) | |
| tree | 938587635c98518ac8b5e78e7e5d1ab80199543a | |
| parent | ee3d354859b3578ff4aedaefcd85585924d5ed1e (diff) | |
| download | chouette-core-61cffec83b8d83fd330175cd9798cecd9338e967.tar.bz2 | |
Edit autocomplete time_tables json format
Refs #3429
| -rw-r--r-- | app/views/time_tables/show.rabl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/time_tables/show.rabl b/app/views/time_tables/show.rabl index a0a799985..53c9daec0 100644 --- a/app/views/time_tables/show.rabl +++ b/app/views/time_tables/show.rabl @@ -9,7 +9,8 @@ node do |tt| current_month: tt.month_inspect(Date.today), periode_range: month_periode_enum(3), current_periode_range: Date.today.beginning_of_month, - color: tt.color ? tt.color : '' + color: tt.color ? tt.color : '', + short_id: tt.objectid.parts.try(:third) } end |
