Update paper_trail, show ticket price with currency in versions
This commit is contained in:
parent
2918f54520
commit
74912d7433
5 changed files with 49 additions and 32 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue