I have state transitions as follows:
[A,B] => C
[B,C] => A
I am using before_transition, after_transition methods as follows:
before_transition :to => C do
end
But now I got a situation to use above method as follows
before_transition :from=> A, :to => C do
end
Is there any way to do this?
probably like this