Replaced delayed_job with resque. See README_DEVEL
This commit is contained in:
parent
344abf5a26
commit
2c0fe08be6
18 changed files with 82 additions and 74 deletions
|
|
@ -5,7 +5,7 @@ class FeedbackController < ApplicationController
|
|||
|
||||
def create
|
||||
if params[:message].present?
|
||||
Mailer.feedback(FoodsoftConfig.scope, current_user, params[:message]).deliver
|
||||
Mailer.feedback(current_user, params[:message]).deliver
|
||||
redirect_to root_url, :notice => "Das Feedback wurde erfolgreich verschickt. Vielen Dank!"
|
||||
else
|
||||
render :action => 'new'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue