]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/message_controller.rb
Return "404 Not Found" for users and traces which don't exist.
[rails.git] / app / controllers / message_controller.rb
index a712931c554f8343a74d1e17e8d281100c126501..26102cc639faa8ef547566e8ce754b741e600fb1 100644 (file)
@@ -14,7 +14,6 @@ class MessageController < ApplicationController
       message.body = body
       message.title = title
       message.to_user_id = params[:user_id]
       message.body = body
       message.title = title
       message.to_user_id = params[:user_id]
-      message.from_display_name = to_user.display_name
       message.from_user_id = @user.id
       message.sent_on = Time.now
    
       message.from_user_id = @user.id
       message.sent_on = Time.now