diff --git a/app/controllers/hyrax/contact_form_controller.rb b/app/controllers/hyrax/contact_form_controller.rb index 17f6cb614..a420f82d4 100644 --- a/app/controllers/hyrax/contact_form_controller.rb +++ b/app/controllers/hyrax/contact_form_controller.rb @@ -50,6 +50,7 @@ def create # not spam, form is valid, and captcha is valid @captcha.values[:category] = params[:contact_form][:category] @captcha.values[:contact_method] = params[:contact_form][:contact_method] + @captcha.values[:subject] = params[:contact_form][:subject] @contact_form = model_class.new(@captcha.values) if @contact_form.valid? && @captcha.valid? ContactMailer.contact(@contact_form).deliver_now