X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e842c7be9774531cf2d95230b7d2fecc5b5f65d9..ae5b7812ccfda66c59cb3ff57ce3b2c3e718f14b:/app/views/messages/new.html.erb
diff --git a/app/views/messages/new.html.erb b/app/views/messages/new.html.erb
index 663456ec7..fb1bc48e7 100644
--- a/app/views/messages/new.html.erb
+++ b/app/views/messages/new.html.erb
@@ -1,5 +1,5 @@
<% content_for :heading do %>
-
<%= t(".send_message_to_html", :name => link_to(@message.recipient.display_name, user_path(@message.recipient))) %>
+ <%= t(".send_message_to_html", :name => link_to(@message.recipient.display_name, @message.recipient)) %>
<% end %>
<%= bootstrap_form_for @message do |f| %>
@@ -8,5 +8,5 @@
<%= f.richtext_field :body, :cols => 80, :rows => 20 %>
<%= f.primary %>
- <%= link_to t(".back_to_inbox"), inbox_messages_path, :class => "btn btn-link" %>
+ <%= link_to t(".back_to_inbox"), messages_inbox_path, :class => "btn btn-link" %>
<% end %>