aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/models/stop_area_referential_sync.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/stop_area_referential_sync.rb b/app/models/stop_area_referential_sync.rb
index a4e3eae30..0e32df4d2 100644
--- a/app/models/stop_area_referential_sync.rb
+++ b/app/models/stop_area_referential_sync.rb
@@ -36,7 +36,7 @@ class StopAreaReferentialSync < ActiveRecord::Base
end
event :failed, after: :log_failed do
- transitions :from => :pending, :to => :failed
+ transitions :from => [:new, :pending], :to => :failed
end
end