summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/call_routes_controller.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/call_routes_controller.rb b/app/controllers/call_routes_controller.rb
index 5ef7c4b..0f4a02d 100644
--- a/app/controllers/call_routes_controller.rb
+++ b/app/controllers/call_routes_controller.rb
@@ -1,5 +1,5 @@
class CallRoutesController < ApplicationController
- load_and_authorize_resource :call_route
+ authorize_resource :call_route
before_filter :spread_breadcrumbs
def index
@@ -25,6 +25,7 @@ class CallRoutesController < ApplicationController
end
def edit
+ @call_route = CallRoute.find(params[:id])
end
def update