diff options
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 |