X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/555a821c3e1b79093b63b96e981c4766cf43baa9..1a2bdacf1769d3157b895b662b6e43a2aa59d9e6:/app/views/message/new.html.erb?ds=sidebyside 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' %>