control 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- data/control.gemspec +1 -1
- data/lib/control/state.rb +1 -1
- metadata +1 -1
data/control.gemspec
CHANGED
data/lib/control/state.rb
CHANGED
@@ -43,7 +43,7 @@ module Control
|
|
43
43
|
def workflow_class
|
44
44
|
unless @workflow_class
|
45
45
|
reflect_on_all_associations.each do |a|
|
46
|
-
klass =
|
46
|
+
klass = a.klass
|
47
47
|
@workflow_class = klass if klass.respond_to?(:is_workflow?) && klass.is_workflow?
|
48
48
|
end
|
49
49
|
end
|