diff options
| author | Guillaume | 2017-09-28 10:35:52 +0200 |
|---|---|---|
| committer | Guillaume | 2017-09-28 10:35:52 +0200 |
| commit | b84188abb33417a24274fc3ba179b6eb2ba8a067 (patch) | |
| tree | 81fea7c0aae31e65e85190de86d266fae17c24e7 /app/views/routes | |
| parent | 28a42fb19174eafee38fe3c5f8fa58f89991f44a (diff) | |
| download | chouette-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.slim | 2 |
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, \ |
