public
Description: Fork of acts_as_state_machine plugin for Rails
Clone URL: git://github.com/omghax/acts_as_state_machine.git
Search Repo:

git-svn-id: 
http://elitists.textdriven.com/svn/plugins/acts_as_state_machine/trunk@47 
a9f67fa3-8408-0410-ad84-b6cefbfd10ac
sbarron (author)
Fri Jan 20 16:34:14 -0800 2006
commit  4a883e1ce0108eac06448eac1771a301ddb6be29
tree    b665c736aa3ede914424e3cb7e7aa36bb0caea88
parent  ff00b78fd51eecc781ef5ebee78d883371e42294
0
...
15
16
17
18
 
19
20
21
...
15
16
17
 
18
19
20
21
0
@@ -15,7 +15,7 @@ If prompted, use the user/pass anonymous/anonymous.
0
    acts_as_state_machine :initial => :opened
0
 
0
    state :opened
0
- state :closed, Proc.new {|o| Mailer.send_notice(o)}
0
+ state :closed, :enter => Proc.new {|o| Mailer.send_notice(o)}
0
    state :returned
0
 
0
    event :close do

Comments

    No one has commented yet.