X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/550c4a3a45814fde5c809334c85f1ebc47659a82..01cbc40ed62f006398bcce62fc1f449b432b59b1:/app/controllers/profiles_controller.rb?ds=inline diff --git a/app/controllers/profiles_controller.rb b/app/controllers/profiles_controller.rb index b48d08ad2..4005176ce 100644 --- a/app/controllers/profiles_controller.rb +++ b/app/controllers/profiles_controller.rb @@ -36,7 +36,7 @@ class ProfilesController < ApplicationController flash[:notice] = t ".success" redirect_to user_path(current_user) else - flash[:error] = t ".failure" + flash.now[:error] = t ".failure" render :edit end end