Avoid using inline javascript to update message list

This commit is contained in:
Tom Hughes 2018-05-30 15:30:23 +01:00
parent ed1f441ef3
commit 4a6779abf7
9 changed files with 44 additions and 14 deletions

View 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 %>