aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXinhui2017-04-19 11:29:06 +0200
committerXinhui2017-04-19 11:29:21 +0200
commitb1f67eb701827d0bfac4905f82633f898e2805a0 (patch)
treef98f60499156244f16eabed8dcf0b978f363d531
parent45da531345ce04ae388465d8bb5bb7a092a7b2e2 (diff)
downloadchouette-core-b1f67eb701827d0bfac4905f82633f898e2805a0.tar.bz2
Fix stop_areas#show templating replace objectid by user_objectid
Refs #3108
-rw-r--r--app/views/stop_areas/show.html.slim2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/stop_areas/show.html.slim b/app/views/stop_areas/show.html.slim
index 9affba08e..58a2dbde3 100644
--- a/app/views/stop_areas/show.html.slim
+++ b/app/views/stop_areas/show.html.slim
@@ -22,7 +22,7 @@
= definition_list t('metadatas'),
{ @stop_area.human_attribute_name(:stop_area_type) => t("area_types.label.#{@stop_area.stop_area_type}"),
@stop_area.human_attribute_name(:registration_number) => @stop_area.registration_number,
- 'Code Reflex' => @stop_area.try(:objectid),
+ 'Code Reflex' => @stop_area.user_objectid,
'Coordonnées' => geo_data(@stop_area, @stop_area_referential),
@stop_area.human_attribute_name(:zip_code) => @stop_area.zip_code,
@stop_area.human_attribute_name(:city_name) => @stop_area.city_name,