aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlban Peignier2017-04-11 21:25:29 +0200
committerAlban Peignier2017-04-11 21:25:29 +0200
commit73ba7b730ad24516050da6b9e0b05fff749ff9a8 (patch)
treef633e5817cd3675d15906a6e6149620ec0e9125a
parentd4f4a848f63d708e4a203b8846f835b561069726 (diff)
downloadchouette-core-73ba7b730ad24516050da6b9e0b05fff749ff9a8.tar.bz2
Use StopArea#objectid. Refs #3107
-rw-r--r--app/views/stop_areas/index.html.slim2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/stop_areas/index.html.slim b/app/views/stop_areas/index.html.slim
index c9ff2cecd..bc1529e68 100644
--- a/app/views/stop_areas/index.html.slim
+++ b/app/views/stop_areas/index.html.slim
@@ -17,7 +17,7 @@
.row
.col-lg-12
= table_builder @stop_areas,
- { 'Oid' => Proc.new { |n| n.try(:objectid).try(:local_id) },
+ { 'Oid' => Proc.new { |n| n.try(:user_objectid) },
:name => 'name', :registration_number => 'registration_number', :zip_code => 'zip_code',
:city_name => 'city_name', :area_type => Proc.new{|s| (s.area_type.nil? ? '-' : t("enumerize.stop_area.area_type.#{s.try(:area_type)}"))} },
[:show, :edit, :delete],