allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject git commit: [#5909] Fixed user_skills redirect on add / remove
Date Wed, 13 Mar 2013 19:45:54 GMT
Updated Branches:
  refs/heads/cj/5909 29fb71382 -> 4720fec5f


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

Branch: refs/heads/cj/5909
Commit: 4720fec5f59b54710b7fca5e21fc0a9fb323d644
Parents: 29fb713
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 19:45:41 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/4720fec5/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