Skip to content

Commit b060f83

Browse files
committed
Fix new project redirect.
1 parent 6223ec0 commit b060f83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vilya/views/projects/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def _q_index(request):
2323
owner_id=current_user.id,
2424
creator_id=current_user.id)
2525
if p:
26-
return request.redirect('projects/%s' % p.name)
26+
return request.redirect('%s' % p.repo_name)
2727
context['project'] = p
2828
return st('projects/index.html', **context)
2929
projects = Project.gets_by()

0 commit comments

Comments
 (0)