]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/user_controller.rb
Fix display of raw HTML in flash message
[rails.git] / app / controllers / user_controller.rb
index 37f9cd7c204d0c73a8a24ac97d23e60f8267792c..fca0e3be7250f9290aa2f5c69136b1ddf152f4ff 100644 (file)
@@ -213,7 +213,7 @@ class UserController < ApplicationController
                        :auth_provider => params[:auth_provider],
                        :auth_uid => params[:auth_uid])
 
                        :auth_provider => params[:auth_provider],
                        :auth_uid => params[:auth_uid])
 
-      flash.now[:notice] = t "user.new.auth association"
+      flash.now[:notice] = render_to_string :partial => "auth_association"
     else
       check_signup_allowed
     end
     else
       check_signup_allowed
     end