X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cb87f02642d0097ebc067ca1f9371dde274a41e3..1a2bdacf1769d3157b895b662b6e43a2aa59d9e6:/app/views/message/new.html.erb diff --git a/app/views/message/new.html.erb b/app/views/message/new.html.erb index b2534e47b..0b54adb1c 100644 --- a/app/views/message/new.html.erb +++ b/app/views/message/new.html.erb @@ -1,5 +1,5 @@ <% content_for :heading do %> -

<%= raw(t'message.new.send_message_to', :name => link_to(h(@message.recipient.display_name), {:controller => 'user', :action => 'view', :display_name => @message.recipient.display_name})) %>

+

<%= raw(t'message.new.send_message_to', :name => link_to(h(@message.recipient.display_name), user_path(@message.recipient))) %>

<% end %> <%= error_messages_for 'message' %>