Skip to content

Commit

Permalink
[#421] Redirects old tag redirect page to new package search with tag
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmartin committed Mar 13, 2013
1 parent bb94e62 commit 0d84c28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/controllers/tag.py
Expand Up @@ -65,4 +65,4 @@ def read(self, id):
except logic.NotFound:
base.abort(404, _('Tag not found'))

return base.render('tag/read.html')
h.redirect_to(controller='package', action='search', tags=c.tag.get('name'))

0 comments on commit 0d84c28

Please sign in to comment.