sarting to generalize profiles
This commit is contained in:
@ -7,7 +7,7 @@ class Member < ApplicationRecord
|
||||
mount_uploader :picture, PictureUploader
|
||||
|
||||
has_many :entities
|
||||
has_one :teacher
|
||||
has_one :profile
|
||||
|
||||
def admin?
|
||||
email == "torsten@villataika.fi"
|
||||
|
Reference in New Issue
Block a user