mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-28 02:27:57 +08:00
fixes tabs
This commit is contained in:
parent
d8a3fdea20
commit
502eb5c211
1 changed files with 4 additions and 4 deletions
|
@ -3,8 +3,8 @@ class Token < ApplicationRecord
|
|||
validates :ttl, presence: true
|
||||
|
||||
belongs_to :user,
|
||||
foreign_key: 'user_id',
|
||||
class_name: 'User',
|
||||
inverse_of: :tokens,
|
||||
optional: true
|
||||
foreign_key: 'user_id',
|
||||
class_name: 'User',
|
||||
inverse_of: :tokens,
|
||||
optional: true
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue