Skip to content

Commit

Permalink
Merge 83d6af8 into d77b834
Browse files Browse the repository at this point in the history
  • Loading branch information
rorJeremy committed Aug 14, 2019
2 parents d77b834 + 83d6af8 commit 32e043d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

class WCC::Contentful::App::ContactFormController < ApplicationController
def create
address = params[:email_object_id] ? email_address(email_model) : form_model.notification_email
unless address = params[:opportunity_email]
address = params[:email_object_id] ? email_address(email_model) : form_model.notification_email
end

form_model.send_email(
form_params.merge!(
{
Expand Down

0 comments on commit 32e043d

Please sign in to comment.