You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by jo...@apache.org on 2013/03/13 20:45:54 UTC

git commit: [#5909] Fixed user_skills redirect on add / remove

Updated Branches:
  refs/heads/cj/5909 29fb71382 -> 4720fec5f


[#5909] Fixed user_skills redirect on add / remove

Signed-off-by: Cory Johns <jo...@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 <jo...@geek.net>
Authored: Wed Mar 13 19:45:41 2013 +0000
Committer: Cory Johns <jo...@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):