summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/call_routes_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/call_routes_controller.rb b/app/controllers/call_routes_controller.rb
index 2437d8d..0259a10 100644
--- a/app/controllers/call_routes_controller.rb
+++ b/app/controllers/call_routes_controller.rb
@@ -49,11 +49,13 @@ class CallRoutesController < ApplicationController
end
def move_higher
+ @call_route = CallRoute.find(params[:id])
@call_route.move_higher
redirect_to :back
end
def move_lower
+ @call_route = CallRoute.find(params[:id])
@call_route.move_lower
redirect_to :back
end