X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4709d90594c3cc35b4bb4f8db259abf9f89c2fe6..95abc14b305f03de27352a252a451d1e0b200a4d:/app/controllers/message_controller.rb diff --git a/app/controllers/message_controller.rb b/app/controllers/message_controller.rb index f4c465c93..450313e62 100644 --- a/app/controllers/message_controller.rb +++ b/app/controllers/message_controller.rb @@ -28,10 +28,10 @@ class MessageController < ApplicationController redirect_to :action => "inbox", :display_name => @user.display_name end end - else - @message ||= Message.new(message_params.merge(:recipient => @this_user)) - @title = t "message.new.title" end + + @message ||= Message.new(message_params.merge(:recipient => @this_user)) + @title = t "message.new.title" end # Allow the user to reply to another message.