aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/admin_request_controller.rb
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-02-15 13:57:28 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-02-15 14:47:02 +1100
commit902631ec4f5e1a16b8f08a2ed0ccc86ad2b72c6c (patch)
tree87462de4229fa19519260ca76212affbd884e82a /app/controllers/admin_request_controller.rb
parent4c9f7f7f12a47b516137bf000c3f36120033a077 (diff)
Stop using admin_url to generate absolute url for the admin interface
Diffstat (limited to 'app/controllers/admin_request_controller.rb')
-rw-r--r--app/controllers/admin_request_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin_request_controller.rb b/app/controllers/admin_request_controller.rb
index 49f40b098..51f5e0aff 100644
--- a/app/controllers/admin_request_controller.rb
+++ b/app/controllers/admin_request_controller.rb
@@ -114,7 +114,7 @@ class AdminRequestController < AdminController
# expire cached files
expire_for_request(@info_request)
flash[:notice] = "Request #{url_title} has been completely destroyed. Email of user who made request: " + user.email
- redirect_to admin_url('request/list')
+ redirect_to admin_request_list_url
end
def edit_outgoing