extended user profile with social fields

This commit is contained in:
Aleksei Kvitinskii 2011-10-20 01:34:05 +03:00
parent 9ad444f02e
commit 59704f481e
10 changed files with 93 additions and 4 deletions

View file

@ -3,6 +3,12 @@ class ProfileController < ApplicationController
@user = current_user
end
def social_update
@user = current_user
@user.update_attributes(params[:user])
redirect_to [:profile]
end
def password
@user = current_user
end