add picture to user

This commit is contained in:
2022-12-24 15:07:25 +02:00
parent 3c3882e6b3
commit e593b181ff
7 changed files with 63 additions and 53 deletions

View File

@ -48,6 +48,6 @@ class MembersController < ApplicationController
# Only allow a list of trusted parameters through.
def member_params
params.require(:member).permit(:name, :public, :bio)
params.require(:member).permit(:name, :public, :bio , :picture)
end
end