]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/message/new.html.erb
Removed directions from roundabout exit instructions
[rails.git] / app / views / message / new.html.erb
index b2534e47b367c71dd0db8dedef604237e908a187..0b54adb1caecb87944ab19c5d940a86e8bbcff88 100644 (file)
@@ -1,5 +1,5 @@
 <% content_for :heading do %>
-  <h2><%= 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})) %></h2>
+  <h2><%= raw(t'message.new.send_message_to', :name => link_to(h(@message.recipient.display_name), user_path(@message.recipient))) %></h2>
 <% end %>
 
 <%= error_messages_for 'message' %>