aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Donnet2017-12-19 23:27:26 +0100
committerLuc Donnet2017-12-19 23:28:53 +0100
commit1c60dcca735efc72b9218353ac255a50aad4e74b (patch)
treea9d5e1c3fee4ec7afb1b802b02ab9f46750e42de
parente1cfb02bf25e636303824b57194713a2db08ea1f (diff)
downloadchouette-core-1c60dcca735efc72b9218353ac255a50aad4e74b.tar.bz2
Use stop_areas count and not size to display stop_area counter
-rw-r--r--app/views/stop_area_referentials/show.html.slim2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/stop_area_referentials/show.html.slim b/app/views/stop_area_referentials/show.html.slim
index d43333fd9..b562df5d5 100644
--- a/app/views/stop_area_referentials/show.html.slim
+++ b/app/views/stop_area_referentials/show.html.slim
@@ -7,7 +7,7 @@
.col-lg-12.text-right
= link_to stop_area_referential_stop_areas_path(@stop_area_referential), class: 'btn btn-primary' do
= Referential.human_attribute_name(:stop_areas)
- em.small = " (#{@stop_area_referential.stop_areas.size})"
+ em.small = " (#{@stop_area_referential.stop_areas.count})"
- page_header_content_for @stop_area_referential
.page_content