Skip to content

Commit

Permalink
Allow new state in transition #4555
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Friedman committed Jul 18, 2013
1 parent c88b0af commit 4c4504d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/participant.rb
Expand Up @@ -155,7 +155,7 @@ def set_initial_state_for_recruitment_strategy
end

event :enroll_in_high_intensity_arm do
transition [:in_pregnancy_probability_group, :pregnant_low, :following_low_intensity, :consented_low_intensity] => :moved_to_high_intensity_arm
transition [:in_pregnancy_probability_group, :pregnant_low, :postnatal, :following_low_intensity, :consented_low_intensity] => :moved_to_high_intensity_arm
end

event :start_in_high_intensity_arm do
Expand Down

0 comments on commit 4c4504d

Please sign in to comment.