]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/messages/inbox.html.erb
Refactor inbox and outbox paths to avoid display names in urls.
[rails.git] / app / views / messages / inbox.html.erb
index b51815b4c92487696812829232e96d48042aa81b..03e01915eae205067a106787e63a3fbd43dd6b1a 100644 (file)
@@ -3,7 +3,7 @@
 <% end %>
 
 <% content_for :heading do %>
-  <h2><%= t '.my_inbox'%>/<%= link_to t('.outbox'), outbox_path(current_user.display_name) %></h2>
+  <h2><%= t '.my_inbox'%>/<%= link_to t('.outbox'), outbox_messages_path %></h2>
 <% end %>
 
   <h4><%= render :partial => "message_count" %></h4>