mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
aasm_after_update -> aasm_persist
This commit is contained in:
parent
8697e97b7d
commit
4fd58db233
1 changed files with 2 additions and 2 deletions
|
@ -49,8 +49,8 @@ module AASM
|
|||
private
|
||||
def aasm_current_state=(state)
|
||||
@aasm_current_state = state
|
||||
if self.respond_to?(:aasm_after_update) || self.private_methods.include?('aasm_after_update')
|
||||
aasm_after_update
|
||||
if self.respond_to?(:aasm_persist) || self.private_methods.include?('aasm_persist')
|
||||
aasm_persist
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue