diff options
| -rw-r--r-- | app/controllers/vehicle_journeys_controller.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/app/controllers/vehicle_journeys_controller.rb b/app/controllers/vehicle_journeys_controller.rb index 0e8bca9cb..1746314f2 100644 --- a/app/controllers/vehicle_journeys_controller.rb +++ b/app/controllers/vehicle_journeys_controller.rb @@ -30,15 +30,15 @@ class VehicleJourneysController < ChouetteController update!(:alert => t('activerecord.errors.models.vehicle_journey.invalid_times')) end - def index - index! do |format| - format.html { - if collection.out_of_bounds? - redirect_to params.merge(:page => 1) - end - } - end - end +# def index +# index! do |format| +# format.html { +# if collection.out_of_bounds? +# redirect_to params.merge(:page => 1) +# end +# } +# end +# end # overwrite inherited resources to use delete instead of destroy |
