diff options
| author | Xinhui | 2017-04-19 11:29:06 +0200 |
|---|---|---|
| committer | Xinhui | 2017-04-19 11:29:21 +0200 |
| commit | b1f67eb701827d0bfac4905f82633f898e2805a0 (patch) | |
| tree | f98f60499156244f16eabed8dcf0b978f363d531 | |
| parent | 45da531345ce04ae388465d8bb5bb7a092a7b2e2 (diff) | |
| download | chouette-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.slim | 2 |
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, |
