mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-02 11:00:16 +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 :user
|
||||||
belongs_to :sms_context, :class_name => 'Context'
|
belongs_to :sms_context, :class_name => 'Context'
|
||||||
|
|
||||||
|
validates_uniqueness_of :sms_email, :case_sensitive => false
|
||||||
|
|
||||||
def self.themes
|
def self.themes
|
||||||
{ :black => 'black', :light_blue => 'light_blue' }
|
{ :black => 'black', :light_blue => 'light_blue' }
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue