From 6bbd8490feee13e2a2f5e2c0c0673a18f244e2dc Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 2 Nov 2022 11:22:29 +0000 Subject: [PATCH] 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. --- app/controllers/messages_controller.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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" -- 2.43.2