Commit f2f6f0c1 by Bridger Maxwell

Wiki redirection bug fix

--HG--
branch : bridgerwiki
parent 499ff9a9
......@@ -51,7 +51,7 @@ def root_redirect(request):
err = not_found(request, 'mainpage')
return err
return HttpResponseRedirect(reverse('wiki_view', args=(root.slug,)))
return HttpResponseRedirect(reverse('wiki_view', args=(root.get_url())))
def create(request, wiki_url):
if not request.user.is_authenticated():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment