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
parent 2918f54520
commit 74912d7433
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

View file

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