extended user profile with social fields
This commit is contained in:
parent
9ad444f02e
commit
59704f481e
10 changed files with 93 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue