Adds the changes from bikebike/bikebike for tracked files that weren't committed to git.

Former-commit-id: 23acad3a6de4f349390d87a88884b754abefdcfb
This commit is contained in:
2021-12-23 14:28:32 -05:00
parent cb0bf52632
commit 8029661917
5 changed files with 101 additions and 96 deletions
+16 -13
View File
@@ -232,20 +232,23 @@ class ApplicationController < BaseController
request_info['env'][key.to_s] = value.to_s
end
send_delayed_mail(:contact,
current_user || params[:email],
params[:subject],
params[:message],
email_list
)
if !(params[:subject] =~ /^\s*[a-z]{10}\s*$/i)
send_delayed_mail(:contact_details,
current_user || params[:email],
params[:subject],
params[:message],
request_info,
params
)
send_delayed_mail(:contact,
current_user || params[:email],
params[:subject],
params[:message],
email_list
)
send_delayed_mail(:contact_details,
current_user || params[:email],
params[:subject],
params[:message],
request_info,
params
)
end
redirect_to contact_sent_path
end