summaryrefslogtreecommitdiff
path: root/app/controllers/profile_controller.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2011-12-20 22:47:09 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2011-12-20 22:47:09 +0200
commit9a2a8612769d472503b367fa35e99f6fb2876704 (patch)
tree26cdb4e66b5e664fe4bcd57d011c54c9c9c26ded /app/controllers/profile_controller.rb
parent2f7b67161952fc9ab322eba6878511b5f2dd5cf1 (diff)
downloadgitlab-ce-9a2a8612769d472503b367fa35e99f6fb2876704.tar.gz
Design tab for profile. Colorscheme as db valuev2.0.0
Diffstat (limited to 'app/controllers/profile_controller.rb')
-rw-r--r--app/controllers/profile_controller.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/controllers/profile_controller.rb b/app/controllers/profile_controller.rb
index 232bddb7dd2..07d0a53f1c2 100644
--- a/app/controllers/profile_controller.rb
+++ b/app/controllers/profile_controller.rb
@@ -4,10 +4,14 @@ class ProfileController < ApplicationController
@user = current_user
end
- def social_update
+ def design
+ @user = current_user
+ end
+
+ def update
@user = current_user
@user.update_attributes(params[:user])
- redirect_to [:profile]
+ redirect_to :back
end
def password