added user edit, show view info and spec for user profile update
This commit is contained in:
parent
c48c8afa51
commit
a2dd90d355
8 changed files with 155 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue