]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/message/outbox.html.erb
Merge remote-tracking branch 'upstream/pull/1788'
[rails.git] / app / views / message / outbox.html.erb
index 288c235ebd3c5718d588595e8e6b0717c70eca6d..a3a0dbbdfad925071686e5922038f6ed56339e4f 100644 (file)
@@ -19,5 +19,5 @@
     </tbody>
   </table>
 <% else %>
-  <div class="messages"><%= raw(t'message.outbox.no_sent_messages', :people_mapping_nearby_link => link_to(t('message.outbox.people_mapping_nearby'), :controller => 'user', :action => 'view', :display_name => current_user.display_name)) %></div>
+  <div class="messages"><%= raw(t'message.outbox.no_sent_messages', :people_mapping_nearby_link => link_to(t('message.outbox.people_mapping_nearby'), user_path(current_user))) %></div>
 <% end %>