From df8488465a7f395e953f5dc9f83ddb2bac8e5df5 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Tue, 4 Nov 2014 14:48:31 +0000 Subject: Use RESTful routing for destroy action --- app/controllers/admin_request_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/admin_request_controller.rb') diff --git a/app/controllers/admin_request_controller.rb b/app/controllers/admin_request_controller.rb index 5ddc32648..b123a3467 100644 --- a/app/controllers/admin_request_controller.rb +++ b/app/controllers/admin_request_controller.rb @@ -79,7 +79,7 @@ class AdminRequestController < AdminController end end - def fully_destroy + def destroy @info_request = InfoRequest.find(params[:id]) user = @info_request.user -- cgit v1.2.3