added user edit, show view info and spec for user profile update

This commit is contained in:
AnithaPal 2016-08-30 13:19:29 -04:00
parent c48c8afa51
commit a2dd90d355
8 changed files with 155 additions and 14 deletions

View file

@ -24,6 +24,8 @@ class UsersController < ApplicationController
# Only allow a trusted parameter "white list" through.
def user_params
params.require(:user).permit(:name, :biography, :nickname, :affiliation)
params.require(:user).permit(:name, :biography, :nickname, :affiliation,
:website_url, :linkedin, :twitter, :googleplus,
:gnu, :diaspora, :github, :gitlab, :gna, :savannah)
end
end