Story #109367694 - refactor: move UserEvents include up, wrap method in included block, say self

This commit is contained in:
Matt Farnsworth 2015-12-14 11:28:26 +02:00
parent b7e560aacc
commit 7b2767eb08
5 changed files with 23 additions and 22 deletions

View file

@ -4,7 +4,5 @@ class DomainVersion < PaperTrail::Version
self.table_name = :log_domains
self.sequence_name = :log_domains_id_seq
include UserEvents
scope :deleted, -> { where(event: 'destroy') }
end