From 14d7afe2f692049ae2638c2edd6ee64309fce0ff Mon Sep 17 00:00:00 2001 From: John Glover Date: Tue, 3 Sep 2013 12:53:40 +0200 Subject: [PATCH] [#1217] Fix trash redirect for instances not at / --- ckan/controllers/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckan/controllers/admin.py b/ckan/controllers/admin.py index 1c14b351939..62e5453dec9 100644 --- a/ckan/controllers/admin.py +++ b/ckan/controllers/admin.py @@ -316,4 +316,4 @@ def trash(self): for msg in msgs: h.flash_error(msg) - h.redirect_to(h.url_for('ckanadmin', action='trash')) + h.redirect_to(controller='admin', action='trash')