X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b2acd6e49c9533f9b49bf6f377835508a0a6d53d..12ac6f8f27dfe63d9674fba54862db13a9e6d89a:/app/controllers/messages_controller.rb diff --git a/app/controllers/messages_controller.rb b/app/controllers/messages_controller.rb index d231fddde..111a31f96 100644 --- a/app/controllers/messages_controller.rb +++ b/app/controllers/messages_controller.rb @@ -127,7 +127,7 @@ class MessagesController < ApplicationController @message.message_read = message_read if @message.save flash[:notice] = notice - redirect_back_or_to inbox_messages_path, :status => :see_other + redirect_to inbox_messages_path, :status => :see_other end rescue ActiveRecord::RecordNotFound @title = t "messages.no_such_message.title"