aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/time_tables/show.rabl3
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