]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/message/inbox.html.erb
Merge remote-tracking branch 'upstream/pull/1788'
[rails.git] / app / views / message / inbox.html.erb
index 919a3e4023c132a3476b661fe89a9e1d423cf5d5..f9fc31149d5aaeccfd231740063362130e27445d 100644 (file)
@@ -20,5 +20,5 @@
     </tbody>
   </table>
 <% else %>
     </tbody>
   </table>
 <% else %>
-  <div><%= raw(t'message.inbox.no_messages_yet', :people_mapping_nearby_link => link_to(t('message.inbox.people_mapping_nearby'), :controller => 'user', :action => 'view', :display_name => current_user.display_name)) %></div>
+  <div><%= raw(t'message.inbox.no_messages_yet', :people_mapping_nearby_link => link_to(t('message.inbox.people_mapping_nearby'), user_path(current_user))) %></div>
 <% end %>
 <% end %>