aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdouard Maffert2016-09-23 16:09:57 +0200
committerEdouard Maffert2016-09-23 16:09:57 +0200
commita6153d91d65203bd48edcf4be33f1422adf9707a (patch)
tree38bb2770b037523a358fb50af8f40cff064c6ffc
parenta9888e02caee01610b353a87e368f114995515f8 (diff)
downloadchouette-core-a6153d91d65203bd48edcf4be33f1422adf9707a.tar.bz2
fix line referential lines count
-rw-r--r--app/views/line_referentials/show.html.slim2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/line_referentials/show.html.slim b/app/views/line_referentials/show.html.slim
index 68b31c6e1..929eda7dd 100644
--- a/app/views/line_referentials/show.html.slim
+++ b/app/views/line_referentials/show.html.slim
@@ -18,7 +18,7 @@
= link_to Referential.human_attribute_name("group_of_lines"), line_referential_group_of_lines_path(@line_referential)
li.list-group-item
- span.badge = @line_referential.operating_lines.size
+ span.badge = @line_referential.lines.size
= link_to Referential.human_attribute_name("lines"), line_referential_lines_path(@line_referential)
- unless @line_referential.line_referential_sync.line_sync_operations.empty?