Commit c3d3e45
Changed files (1)
app
controllers
app/controllers/registrations_controller.rb
@@ -7,7 +7,7 @@ class RegistrationsController < ApplicationController
@user = User.new(secure_params)
if @user.save
log_in(@user)
- UserMailer.registration_email(@user).deliver_later
+ UserMailer.registration_email(@user).deliver_later #TODO change adapter
redirect_to dashboard_path
else
flash.now[:error] = @user.errors.full_messages