Permalink
Browse files

Minor syntax change for AASM code

  • Loading branch information...
1 parent 1f99491 commit b6dbe066041f0ff1e3f29ae923102be027ddf84a @lancecarlson lancecarlson committed with Dec 27, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/authorization/aasm_roles.rb
@@ -10,7 +10,7 @@ def self.included( recipient )
include StatefulRolesInstanceMethods
include AASM
aasm_column :state
- aasm_initial_state :initial => :pending
+ aasm_initial_state :pending
aasm_state :passive
aasm_state :pending, :enter => :make_activation_code
aasm_state :active, :enter => :do_activate

0 comments on commit b6dbe06

Please sign in to comment.