fixes tabs

This commit is contained in:
Zmago Devetak 2017-06-28 15:40:15 +02:00 committed by GitHub
parent d8a3fdea20
commit 502eb5c211

View file

@ -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