allow to upload user initials
This commit is contained in:
@@ -50,6 +50,7 @@ class User < ApplicationRecord
|
||||
EMAIL_REGEXP = /[^@;,<>\s]+@[^@;,<>\s]+/
|
||||
|
||||
has_one_attached :signature
|
||||
has_one_attached :initials
|
||||
|
||||
belongs_to :account
|
||||
has_one :access_token, dependent: :destroy
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#
|
||||
class UserConfig < ApplicationRecord
|
||||
SIGNATURE_KEY = 'signature'
|
||||
INITIALS_KEY = 'initials'
|
||||
RECEIVE_COMPLETED_EMAIL = 'receive_completed_email'
|
||||
|
||||
belongs_to :user
|
||||
|
||||
Reference in New Issue
Block a user