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
|
|
@ -10,7 +10,7 @@ class InvitesController < ApplicationController
|
|||
def create
|
||||
@invite = Invite.new(params[:invite])
|
||||
if @invite.save
|
||||
Mailer.delay.invite(FoodsoftConfig.scope, @invite.id)
|
||||
Mailer.invite(@invite)
|
||||
|
||||
respond_to do |format|
|
||||
format.html do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue