much better, now with carrierwave

This commit is contained in:
2022-12-25 17:37:22 +02:00
parent e8a755af0e
commit 946f7625be
7 changed files with 94 additions and 36 deletions

View File

@ -4,6 +4,8 @@ class Member < ApplicationRecord
devise :database_authenticatable, :registerable,:confirmable,
:recoverable, :rememberable, :validatable
mount_uploader :picture, PictureUploader
def admin?
true
end