aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorVlatka Pavisic2017-04-05 12:14:25 +0200
committerVlatka Pavisic2017-04-05 12:14:30 +0200
commit81f5ee3810fd30f0bccd8a0f33245b0444ebadd9 (patch)
tree2c25b2dfab7c2761e033163578d6c33d97e8f391 /app/controllers
parent1e5a595150f4a90dcf17e0e6cd32728486fb36b8 (diff)
downloadchouette-core-81f5ee3810fd30f0bccd8a0f33245b0444ebadd9.tar.bz2
Refs #3036 : Associate RoutingConstraintZone with Route and not Line
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/routing_constraint_zones_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/routing_constraint_zones_controller.rb b/app/controllers/routing_constraint_zones_controller.rb
index c39c50326..bc3dcdfd4 100644
--- a/app/controllers/routing_constraint_zones_controller.rb
+++ b/app/controllers/routing_constraint_zones_controller.rb
@@ -11,7 +11,7 @@ class RoutingConstraintZonesController < ChouetteController
private
def routing_constraint_zone_params
- params.require(:routing_constraint_zone).permit(:name, { stop_area_ids: [] }, :line_id, :objectid, :object_version, :creator_id)
+ params.require(:routing_constraint_zone).permit(:name, { stop_area_ids: [] }, :line_id, :route_id, :objectid, :object_version, :creator_id)
end
end