Design tab for profile. Colorscheme as db value

This commit is contained in:
Dmitriy Zaporozhets 2011-12-20 22:47:09 +02:00
parent 2f7b671619
commit 9a2a861276
15 changed files with 100 additions and 66 deletions

View file

@ -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