mirror of
https://0xacab.org/sutty/sutty
synced 2025-03-15 02:18:19 +00:00
Merge branch 'issue-15109-1' of https://0xacab.org/sutty/sutty into production.panel.sutty.nl
This commit is contained in:
commit
2a09f60d20
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ module AasmEventsConcern
|
|||
# scope actual.
|
||||
#
|
||||
# @return [Bool] Si hubo al menos un error, devuelve false.
|
||||
self.events.each do |event|
|
||||
self.aasm.events.map(&:name).each do |event|
|
||||
define_singleton_method(:"#{event}_all!") do
|
||||
success = true
|
||||
|
||||
|
|
Loading…
Reference in a new issue