X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/4709d90594c3cc35b4bb4f8db259abf9f89c2fe6..afa82bd2b174b02e0515d3aae9fba319a0962498:/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.