Method: Control::Workflow#transitions
- Defined in:
- lib/control/workflow.rb
#transitions ⇒ Array<Transition> Also known as: history
Get all transitions.
40 41 42 |
# File 'lib/control/workflow.rb', line 40 def transitions Control::Transition.where(:workflow_class => self.class.name, :workflow_id => self.id) end |