|
|
@ -60,7 +60,6 @@ class FormController < ApplicationController |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private |
|
|
|
private |
|
|
|
|
|
|
|
|
|
|
|
def restore_error_field_values |
|
|
|
def restore_error_field_values |
|
|
@ -143,7 +142,7 @@ private |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
def new_log_request_referrer? |
|
|
|
def new_log_request_referrer? |
|
|
|
request.referer.split("/").include?("new") |
|
|
|
request.referer&.split("/").include?("new") |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
def is_referrer_check_answers? |
|
|
|
def is_referrer_check_answers? |
|
|
|