incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [4/4] git commit: [#5822] fix redirect after submitting the new task form
Date Mon, 23 Sep 2013 16:28:25 GMT
[#5822] fix redirect after submitting the new task form


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/740e392f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/740e392f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/740e392f

Branch: refs/heads/master
Commit: 740e392f62f5b7026236294b35e7ab422cf8e7a0
Parents: d83c5c2
Author: Dave Brondsema <dbrondsema@slashdotmedia.com>
Authored: Wed Sep 11 15:58:13 2013 +0000
Committer: Cory Johns <cjohns@slashdotmedia.com>
Committed: Mon Sep 23 16:27:12 2013 +0000

----------------------------------------------------------------------
 Allura/allura/controllers/site_admin.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/740e392f/Allura/allura/controllers/site_admin.py
----------------------------------------------------------------------
diff --git a/Allura/allura/controllers/site_admin.py b/Allura/allura/controllers/site_admin.py
index 0051a04..d7e7c0b 100644
--- a/Allura/allura/controllers/site_admin.py
+++ b/Allura/allura/controllers/site_admin.py
@@ -338,7 +338,7 @@ class TaskManagerController(object):
             config_dict['user'] = user
         with h.push_config(c, **config_dict):
             task = task.post(*args, **kw)
-        redirect('../view/%s' % task._id)
+        redirect('view/%s' % task._id)
 
     @expose()
     @require_post()


Mime
View raw message