From: Andy Allan Date: Wed, 2 Nov 2022 11:22:29 +0000 (+0000) Subject: Remove outdated comments X-Git-Tag: live~1497^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/6bbd8490feee13e2a2f5e2c0c0673a18f244e2dc?hp=22946d703a1186d0ec7fb18a663f73855bb49546 Remove outdated comments The action no longer deals with sending, and there's no display_name param in this bit of code so it's a bit confusing. --- diff --git a/app/controllers/messages_controller.rb b/app/controllers/messages_controller.rb index fd8cf7cf9..22d0c88ba 100644 --- a/app/controllers/messages_controller.rb +++ b/app/controllers/messages_controller.rb @@ -28,10 +28,7 @@ class MessagesController < ApplicationController render :action => "no_such_message", :status => :not_found end - # Allow the user to write a new message to another user. This action also - # deals with the sending of that message to the other user when the user - # clicks send. - # The display_name param is the display name of the user that the message is being sent to. + # Allow the user to write a new message to another user. def new @message = Message.new(message_params.merge(:recipient => @user)) @title = t ".title"