aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/routes
diff options
context:
space:
mode:
authorGuillaume2017-09-28 10:35:52 +0200
committerGuillaume2017-09-28 10:35:52 +0200
commitb84188abb33417a24274fc3ba179b6eb2ba8a067 (patch)
tree81fea7c0aae31e65e85190de86d266fae17c24e7 /app/views/routes
parent28a42fb19174eafee38fe3c5f8fa58f89991f44a (diff)
downloadchouette-core-b84188abb33417a24274fc3ba179b6eb2ba8a067.tar.bz2
add helper for line_status with picto
Diffstat (limited to 'app/views/routes')
-rw-r--r--app/views/routes/show.html.slim2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/routes/show.html.slim b/app/views/routes/show.html.slim
index e2681d215..edc2d254b 100644
--- a/app/views/routes/show.html.slim
+++ b/app/views/routes/show.html.slim
@@ -48,7 +48,7 @@
), \
TableBuilderHelper::Column.new( \
key: :deleted_at, \
- attribute: Proc.new { |s| s.try(:stop_area).deleted_at ? t('false') : t('true') }, \
+ attribute: Proc.new { |s| line_status(s.try(:stop_area).deleted_at) } \
), \
TableBuilderHelper::Column.new( \
key: :zip_code, \