bug: resolve false positive "oops" redirect

This commit is contained in:
Mark Moser committed 2017-05-03 15:24:23 -05:00
1 parent 76e7401cec
commit 49035929fb
3 files changed
+31

No files matched your search

+1
View File
@@ -45,6 +45,7 @@ class CandidateController < ApplicationController
end
def send_to_oops
redirect_to welcome_path and return if current_candidate && current_candidate.stale?
redirect_to oops_path if current_candidate
end
end