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 21:21:14 UTC

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

[#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/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/master
Commit: 9d3caf32deb40e2c7107d520703198e714e9ba4a
Parents: 7eee5d9
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 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):