Skip to content

Commit

Permalink
Merge pull request #1217 from okfn/1217-trash-redirect
Browse files Browse the repository at this point in the history
Trash purge action redirect broken for CKAN instances not at /
  • Loading branch information
kindly committed Sep 20, 2013
2 parents 1f560e9 + 36459a5 commit 490624a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/controllers/admin.py
Expand Up @@ -152,4 +152,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')

0 comments on commit 490624a

Please sign in to comment.