diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2011-12-20 22:47:09 +0200 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2011-12-20 22:47:09 +0200 |
| commit | 9a2a8612769d472503b367fa35e99f6fb2876704 (patch) | |
| tree | 26cdb4e66b5e664fe4bcd57d011c54c9c9c26ded /app/controllers/profile_controller.rb | |
| parent | 2f7b67161952fc9ab322eba6878511b5f2dd5cf1 (diff) | |
| download | gitlab-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.rb | 8 |
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 |
