allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [1/3] git commit: [#5822] fix redirect after submitting the new task form
Date Wed, 11 Sep 2013 16:41:53 GMT
Updated Branches:
  refs/heads/db/5822 [created] 484d37176


[#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/94dbea03
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/94dbea03
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/94dbea03

Branch: refs/heads/db/5822
Commit: 94dbea03b2d9988075136ceb279728c54f2fdf73
Parents: 21b64d0
Author: Dave Brondsema <dbrondsema@slashdotmedia.com>
Authored: Wed Sep 11 15:58:13 2013 +0000
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Wed Sep 11 15:58:13 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/94dbea03/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