remove cms, small fix

This commit is contained in:
2023-01-12 22:24:36 +02:00
parent a9967a0127
commit 125117b71f
4 changed files with 7 additions and 7 deletions

View File

@ -6,11 +6,11 @@ class Member < ApplicationRecord
mount_uploader :picture, PictureUploader
has_many :stories
def admin
true
self.email == "torsten@villataika.fi"
end
def admin?
true
self.email == "torsten@villataika.fi"
end
end