summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Leray <alexandre@alexandreleray.com>2010-11-03 22:48:04 (GMT)
committer Alexandre Leray <alexandre@alexandreleray.com>2010-11-03 22:48:04 (GMT)
commitafc40d3119d7e6f267b32fc10b5b463dcd1fbb3b (patch)
treed713d05b8efefa0908da0dfdbeca3bfc6fd82cb7
parent65918ea9248e58f5770abe55f85cffa08306bb3f (diff)
when edit text, redirects to view text
-rwxr-xr-xbrainch/views/repositories/edit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/brainch/views/repositories/edit.py b/brainch/views/repositories/edit.py
index c3edf7d..8c314ef 100755
--- a/brainch/views/repositories/edit.py
+++ b/brainch/views/repositories/edit.py
@@ -102,7 +102,7 @@ def edit(request, username, name):
Your modifications have been saved.\
"""))
- return HttpResponseRedirect("/")
+ return HttpResponseRedirect("/%s/%s" % (username, name))
# Returns a form filled with current content
else:
# Reads the content