incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject [07/48] git commit: [#5909] Fixed user_skills redirect on add / remove
Date Thu, 21 Mar 2013 14:21:43 GMT
[#5909] Fixed user_skills redirect on add / remove

Signed-off-by: Cory Johns <johnsca@geek.net>


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

Branch: refs/heads/si/5453
Commit: 9d3caf32deb40e2c7107d520703198e714e9ba4a
Parents: 7eee5d9
Author: Cory Johns <johnsca@geek.net>
Authored: Wed Mar 13 19:45:41 2013 +0000
Committer: Cory Johns <johnsca@geek.net>
Committed: Wed Mar 13 20:20:47 2013 +0000

----------------------------------------------------------------------
 Allura/allura/controllers/auth.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/9d3caf32/Allura/allura/controllers/auth.py
----------------------------------------------------------------------
diff --git a/Allura/allura/controllers/auth.py b/Allura/allura/controllers/auth.py
index 7abdbc8..2914799 100644
--- a/Allura/allura/controllers/auth.py
+++ b/Allura/allura/controllers/auth.py
@@ -508,7 +508,7 @@ class UserSkillsController(BaseController):
         s.append(new_skill)
         c.user.set_pref('skills', s)
         flash('Your skills list was successfully updated!')
-        redirect('..')
+        redirect('.')
 
     @expose()
     @require_post()
@@ -521,7 +521,7 @@ class UserSkillsController(BaseController):
              if str(skill.category_id) != str(category._id)]
         c.user.set_pref('skills', s)
         flash('Your skills list was successfully updated!')
-        redirect('..')
+        redirect('.')
 
 class UserContactsController(BaseController):
 


Mime
View raw message