diff options
| author | Thomas Haddad | 2017-03-20 12:29:14 +0100 |
|---|---|---|
| committer | Thomas Haddad | 2017-03-20 12:29:14 +0100 |
| commit | 87c5dd24db078ea43c182d847e313f90cc482f0f (patch) | |
| tree | 3c33c3f9cad47fd3edba3bb2891020f6c2576638 | |
| parent | 531f4eb80fca4cd1902f34c79222dab7de5554c9 (diff) | |
| download | chouette-core-87c5dd24db078ea43c182d847e313f90cc482f0f.tar.bz2 | |
Remove rails logger
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
| -rw-r--r-- | app/helpers/routes_helper.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/helpers/routes_helper.rb b/app/helpers/routes_helper.rb index 38d2a232f..d5d36ffa3 100644 --- a/app/helpers/routes_helper.rb +++ b/app/helpers/routes_helper.rb @@ -17,7 +17,6 @@ module RoutesHelper route.stop_points.includes(:stop_area).map do |stop_point| stop_area_attributes = stop_point.stop_area.attributes.slice("name","city_name", "zip_code", "registration_number", "longitude", "latitude", "area_type") stop_area_attributes["short_name"] = truncate(stop_area_attributes["name"], :length => 30) || "" - Rails.logger.debug(stop_area_attributes) 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) end.to_json |
