fix signature update

This commit is contained in:
Pete Matsyburka
2023-12-30 15:12:00 +02:00
parent 8961294a29
commit ba60997992
+2
View File
@@ -49,6 +49,8 @@ class User < ApplicationRecord
EMAIL_REGEXP = /[^@;,<>\s]+@[^@;,<>\s]+/
has_one_attached :signature
belongs_to :account
has_one :access_token, dependent: :destroy
has_many :templates, dependent: :destroy, foreign_key: :author_id, inverse_of: :author