mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-26 20:08:51 +01:00
parent
ddcd468070
commit
aedc9f5409
1 changed files with 2 additions and 0 deletions
|
|
@ -2,6 +2,8 @@ class Preference < ApplicationRecord
|
|||
belongs_to :user
|
||||
belongs_to :sms_context, :class_name => 'Context'
|
||||
|
||||
validates_uniqueness_of :sms_email, :case_sensitive => false
|
||||
|
||||
def self.themes
|
||||
{ :black => 'black', :light_blue => 'light_blue' }
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue