Initial commit
This commit is contained in:
9
lib/peatio/aasm/locking.rb
Normal file
9
lib/peatio/aasm/locking.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
# encoding: UTF-8
|
||||
# frozen_string_literal: true
|
||||
|
||||
module AASM::Locking
|
||||
def aasm_write_state(*)
|
||||
lock!
|
||||
super
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user