]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/confirmations_controller.rb
spelling: (self reference is superfluous)
[rails.git] / app / controllers / confirmations_controller.rb
index b77ed09b3138caf9092cc0a3505ad5bb58aae652..372ac2a70c0dc2277902fc43f71d3bee25a94fdc 100644 (file)
@@ -66,7 +66,7 @@ class ConfirmationsController < ApplicationController
       flash[:error] = t "confirmations.confirm_resend.failure", :name => params[:display_name]
     else
       UserMailer.signup_confirm(user, user.tokens.create).deliver_later
-      flash[:notice] = t "confirmations.confirm_resend.success_html", :email => user.email, :sender => Settings.support_email
+      flash[:notice] = { :partial => "confirmations/resend_success_flash", :locals => { :email => user.email, :sender => Settings.email_from } }
     end
 
     redirect_to login_path