Skip to content
This repository has been archived by the owner on May 14, 2022. It is now read-only.

Adding a state machine to manage states and transitions #219

Merged
merged 1 commit into from
Dec 4, 2015

Conversation

escowles
Copy link
Member

@escowles escowles commented Dec 3, 2015

Closes #211

def initialize(state)
aasm.current_state = state.to_sym unless state.nil?

@state_descriptions = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move these to I18n?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea -- I moved the label and desc to I18n.

tpendragon pushed a commit that referenced this pull request Dec 4, 2015
Adding a state machine to manage states and transitions
@tpendragon tpendragon merged commit 581314f into master Dec 4, 2015
@tpendragon tpendragon deleted the state_workflow_lite branch December 4, 2015 19:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants