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