Merge pull request #188 from ernsheong/edit-readme

Remove :on_transition from README?
This commit is contained in:
Thorsten Böttger 2014-11-27 18:36:48 +01:00
commit fe63fc03f9
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ Note that when passing arguments to a state transition, the first argument must
In case of an error during the event processing the error is rescued and passed to `:error`
callback, which can handle it or re-raise it for further propagation.
During the `:on_transition` callback (and reliably only then) you can access the
During the transition's `:after` callback (and reliably only then) you can access the
originating state (the from-state) and the target state (the to state), like this:
```ruby