Skip to content
Snippets Groups Projects
Commit f2f6f0c1 authored by Bridger Maxwell's avatar Bridger Maxwell
Browse files

Wiki redirection bug fix

--HG--
branch : bridgerwiki
parent 499ff9a9
No related merge requests found
......@@ -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():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment