]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/messages/outbox.html.erb
Use resourceful destroy method for messages
[rails.git] / app / views / messages / outbox.html.erb
index c9688de51bc16d67b35f07efed4734333d96851a..199cfdc493548b17dbdf9a762ea2fca46e459dbe 100644 (file)
@@ -3,7 +3,7 @@
 <% end %>
 
 <% content_for :heading do %>
-  <h2><%= raw(t '.my_inbox', :inbox_link => link_to(t('.inbox'), inbox_path(current_user.display_name))) %>/<%= t'.outbox' %></h2>
+  <h2><%= raw(t '.my_inbox', :inbox_link => link_to(t('.inbox'), inbox_messages_path)) %>/<%= t'.outbox' %></h2>
 <% end %>
 
 <h4><%= t '.messages', :count => current_user.sent_messages.size %></h4>