vendredi 17 juin 2016

i am going to creating simple mailer but when user saved, email is not send to users email

create method looks like this and github link is http://ift.tt/1YwKYk9

def create @user = User.new(user_params) if @user.save # Deliver the signup email UserNotifier.send_signup_email(@user).deliver redirect_to(@user, :notice => 'User created') else render :action => 'new' end end

Aucun commentaire:

Enregistrer un commentaire