Skip to content

Commit

Permalink
change deliver_now to deliver_later in answer_like_controller (#5533)
Browse files Browse the repository at this point in the history
* mail deliver_later for answer_like_controller

* comitting answer_like_controller

* Revert "comitting answer_like_controller"

This reverts commit d7e1a11.
  • Loading branch information
AnthoniaOkafor authored and jywarren committed May 15, 2019
1 parent 5e39ef2 commit 4e5ece9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/answer_like_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def likes
else
AnswerSelection.set_likes(current_user.uid, @answer.id, true)
user = User.find(current_user.uid)
AnswerMailer.notify_answer_like(user, @answer).deliver_now
AnswerMailer.notify_answer_like(user, @answer).deliver_later
end
@answer.reload
respond_to do |format|
Expand Down

0 comments on commit 4e5ece9

Please sign in to comment.