1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00

Merge pull request #183 from joelvh/patch-1

Fixed syntax
This commit is contained in:
Thorsten Böttger 2014-11-17 04:23:08 +01:00
commit 8ce7062aa8

View file

@ -4,7 +4,7 @@
### Callback order has been changed
The first callback to be run is `:before` of the event. A state's `:before_exit' callback
The first callback to be run is `:before` of the event. A state's `:before_exit` callback
is now run directly before its `:exit` callback. Event-based guards are now run before
any of the transition guards are run. And finally, before running any state callbacks,
all (event- and transition-based) guards are run to check whether the state callbacks