Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
Fix typo in redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
kumar303 authored and cvan committed Aug 31, 2012
1 parent 910a77c commit d4dd00b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/addons/views.py
Expand Up @@ -824,5 +824,5 @@ def report_abuse(request, addon):
@cache_control(max_age=60 * 60 * 24)
def persona_redirect(request, persona_id):
persona = get_object_or_404(Persona, persona_id=persona_id)
return http.HttpResponsePermanentRedirect('addons.detail',
persona.addon.slug)
to = reverse('addons.detail', args=[persona.addon.slug])
return http.HttpResponsePermanentRedirect(to)

0 comments on commit d4dd00b

Please sign in to comment.