Fix mailer warnings
This commit is contained in:
parent
8a4b65c4a5
commit
2687da357a
4 changed files with 5 additions and 5 deletions
|
|
@ -5,7 +5,7 @@ class FeedbackController < ApplicationController
|
|||
|
||||
def create
|
||||
if params[:message].present?
|
||||
Mailer.feedback(current_user, params[:message]).deliver
|
||||
Mailer.feedback(current_user, params[:message]).deliver_now
|
||||
redirect_to root_url, notice: t('feedback.create.notice')
|
||||
else
|
||||
render :action => 'new'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue