spotify web setup is done

This commit is contained in:
2025-06-22 10:01:32 +02:00
parent b368a750fe
commit 5eaad428ff
16 changed files with 365 additions and 15 deletions

View File

@@ -4,6 +4,8 @@ class User < ApplicationRecord
devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :validatable
has_many :logins
def is_admin?
id == 1
end