summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-21 11:07:54 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-21 11:07:54 +0100
commita6779c02f83d1873ebc33b1610013dcbadfeb10b (patch)
tree5fdfd2e5652f405ddfd4cd57b7e30f69d95a0fda /app/controllers
parent04d6df5fec774725d9d67d0a485e3a29ae7c905b (diff)
Bug fix #121
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