mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
(quality) lint HistoryValue
This commit is contained in:
parent
eb15e0e5a2
commit
c284190253
@ -5,13 +5,11 @@ class HistoryValue < Footprintable
|
||||
belongs_to :setting
|
||||
belongs_to :invoicing_profile
|
||||
|
||||
delegate :user, to: :invoicing_profile
|
||||
|
||||
after_create :chain_record
|
||||
|
||||
def sort_on_field
|
||||
'created_at'
|
||||
end
|
||||
|
||||
def user
|
||||
invoicing_profile.user
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user