]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/messages/outbox.html.erb
Whitespace fixes for messages erb files
[rails.git] / app / views / messages / outbox.html.erb
index 38639cd9919fda2413a800c8ddc1137eb9ba7a15..36e0f22e9e32905b720e5be0c0997419a217b6bf 100644 (file)
@@ -1,5 +1,9 @@
+<% content_for :head do %>
+  <%= javascript_include_tag "messages" %>
+<% 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>