X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/75749cc54024ef7b4a06a5415f685331facbb467..7565f5aa4aad13bb45929ba26e82a1ab3ca28210:/app/views/messages/new.html.erb?ds=sidebyside diff --git a/app/views/messages/new.html.erb b/app/views/messages/new.html.erb index 7c91722ff..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 %>