]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/message/inbox.html.erb
Fix handling of title when replying to diary entries
[rails.git] / app / views / message / inbox.html.erb
index 919a3e4023c132a3476b661fe89a9e1d423cf5d5..f9fc31149d5aaeccfd231740063362130e27445d 100644 (file)
@@ -20,5 +20,5 @@
     </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 %>