#880: small refactoring

This commit is contained in:
Vokhmin Alexey V 2013-02-04 12:19:46 +04:00
parent 1e9dce5b6e
commit 5ae7cc1d8f
1 changed files with 1 additions and 2 deletions

View File

@ -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