Skip to content

Commit

Permalink
Merge branch 'release/0.17.0.23'
Browse files Browse the repository at this point in the history
  • Loading branch information
kalashnikovisme committed Apr 5, 2017
2 parents 082ff8b + e63a8bd commit f19d56f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/web/admin/delivery/audiences_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ def create
@audience_form = ::Delivery::AudienceForm.new_with_model
@audience_form.submit params[:delivery_audience]
if @audience_form.save
::Admin::FillReceiversJob.perform_later @audience_form.model.campaign
redirect_to admin_delivery_campaign_path(@audience_form.model.campaign)
else
render :new
Expand Down

0 comments on commit f19d56f

Please sign in to comment.