diff options
| author | Zog | 2017-12-28 17:07:37 +0100 |
|---|---|---|
| committer | Zog | 2018-01-10 09:29:44 +0100 |
| commit | 3bc583b1e727f0cf27e0aef8ef94121dd693cd86 (patch) | |
| tree | d03a9973571eabcb180961c9a485137e62d5ea19 /app/controllers | |
| parent | b4d016c8aa2e671e2b5a492d7e742d5166069495 (diff) | |
| download | chouette-core-3bc583b1e727f0cf27e0aef8ef94121dd693cd86.tar.bz2 | |
Refs #5437 @0.5h; Show country name instead of city in the journeys editor
When the organisation has the "long_distance_routes" features.
Mind the `StopArea#country_name` method which is pending until we merge
the branch which adds the countries support.
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/vehicle_journeys_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/vehicle_journeys_controller.rb b/app/controllers/vehicle_journeys_controller.rb index c03db0c7f..887131557 100644 --- a/app/controllers/vehicle_journeys_controller.rb +++ b/app/controllers/vehicle_journeys_controller.rb @@ -69,6 +69,7 @@ class VehicleJourneysController < ChouetteController :latitude => sp.stop_area.try(:latitude), :long_lat_type => sp.stop_area.try(:long_lat_type), :country_code => sp.stop_area.try(:country_code), + :country_name => sp.stop_area.try(:country_name), :street_name => sp.stop_area.try(:street_name) } end |
