1
0
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:
Sylvain 2022-11-17 11:47:47 +01:00
parent eb15e0e5a2
commit c284190253

View File

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