diff options
| author | jpl | 2017-03-10 11:17:30 +0100 |
|---|---|---|
| committer | jpl | 2017-03-10 11:17:41 +0100 |
| commit | 35f49c9df1c615edc7cd8fca10c225972ffbe81d (patch) | |
| tree | cc00ee2f4eb427191696324fb77070e057b94693 /app/controllers | |
| parent | 65c1596756a0db402bd4ab793939ab833e454e5d (diff) | |
| download | chouette-core-35f49c9df1c615edc7cd8fca10c225972ffbe81d.tar.bz2 | |
Refs #2499: giving food to window
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/vehicle_journeys_controller.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/controllers/vehicle_journeys_controller.rb b/app/controllers/vehicle_journeys_controller.rb index 8845b0c54..5199d8632 100644 --- a/app/controllers/vehicle_journeys_controller.rb +++ b/app/controllers/vehicle_journeys_controller.rb @@ -61,6 +61,9 @@ class VehicleJourneysController < ChouetteController } end + @jp_origin = Chouette::JourneyPattern.find_by(objectid: params[:jp]) + + index! do if collection.out_of_bounds? redirect_to params.merge(:page => 1) |
