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

@ -5,7 +5,8 @@ class Member < ApplicationRecord
:recoverable, :rememberable, :validatable
has_rich_text :bio
has_one_attached :picture
def admin?
true
end