]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/messages/outbox.html.erb
Avoid using inline javascript to update message list
[rails.git] / app / views / messages / outbox.html.erb
index 38639cd9919fda2413a800c8ddc1137eb9ba7a15..c9688de51bc16d67b35f07efed4734333d96851a 100644 (file)
@@ -1,3 +1,7 @@
+<% 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>
 <% end %>