mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
Add do
This commit is contained in:
parent
fd40c19d8f
commit
cd9c254552
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ This example uses a few of the more complex features available.
|
||||||
|
|
||||||
aasm_event :get_married,
|
aasm_event :get_married,
|
||||||
:before => :make_vows,
|
:before => :make_vows,
|
||||||
:after => :eat_wedding_cake
|
:after => :eat_wedding_cake do
|
||||||
transitions :to => :married, :from => [:dating]
|
transitions :to => :married, :from => [:dating]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue