Update paper_trail, show ticket price with currency in versions

This commit is contained in:
Stella Rouzi 2018-04-07 14:07:38 +03:00 committed by James Mason
parent c4eac5ec3b
commit d01d15ba5e
5 changed files with 49 additions and 32 deletions

View file

@ -305,7 +305,7 @@ class Event < ApplicationRecord
def set_week
self.week = created_at.strftime('%W')
without_versioning do
paper_trail.without_versioning do
save!
end
end