diff options
| author | cedricnjanga | 2018-03-15 12:41:29 -0700 | 
|---|---|---|
| committer | Johan Van Ryseghem | 2018-03-29 11:28:28 +0200 | 
| commit | 1019debe93d776f0d38ae69099e6492a7dd4a87c (patch) | |
| tree | 16903e673284d4d378f6794a58e7ed6ff4c9da40 /app/helpers | |
| parent | 23318bbe07b73cef50ec69d5e597386a116e2b82 (diff) | |
| download | chouette-core-1019debe93d776f0d38ae69099e6492a7dd4a87c.tar.bz2 | |
Refs #6075 Change default attributes for stop areas
Diffstat (limited to 'app/helpers')
| -rw-r--r-- | app/helpers/routes_helper.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/app/helpers/routes_helper.rb b/app/helpers/routes_helper.rb index 61714a066..84b4015a2 100644 --- a/app/helpers/routes_helper.rb +++ b/app/helpers/routes_helper.rb @@ -24,7 +24,7 @@ module RoutesHelper        stop_area_attributes = stop_point.stop_area.attributes.slice("name","city_name", "zip_code", "registration_number", "longitude", "latitude", "area_type", "comment")        stop_area_attributes["short_name"] = truncate(stop_area_attributes["name"], :length => 30) || ""        stop_point_attributes = stop_point.attributes.slice("for_boarding","for_alighting") -      stop_area_attributes.merge(stop_point_attributes).merge(stoppoint_id: stop_point.id, stoparea_id: stop_point.stop_area.id).merge(user_objectid: stop_point.stop_area.user_objectid) +      stop_area_attributes.merge(stop_point_attributes).merge(stoppoint_id: stop_point.id, stoparea_id: stop_point.stop_area.id, stoparea_kind: stop_point.stop_area.kind).merge(user_objectid: stop_point.stop_area.user_objectid)      end      data = data.to_json if serialize      data | 
