#880: small refactoring
This commit is contained in:
parent
1e9dce5b6e
commit
5ae7cc1d8f
|
@ -186,8 +186,7 @@ class BuildList < ActiveRecord::Base
|
|||
end
|
||||
|
||||
event :publish do
|
||||
transition :build_published => :build_publish
|
||||
transition [:success, :failed_publish] => :build_publish
|
||||
transition [:success, :failed_publish, :build_published] => :build_publish
|
||||
transition [:success, :failed_publish] => :failed_publish
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue