Use resourceful routes for web mailboxes
This commit is contained in:
parent
99af52b478
commit
c7e038a4d0
21 changed files with 205 additions and 153 deletions
9
app/views/messages/muted_inboxes/show.html.erb
Normal file
9
app/views/messages/muted_inboxes/show.html.erb
Normal file
|
@ -0,0 +1,9 @@
|
|||
<% content_for :head do %>
|
||||
<%= javascript_include_tag "messages" %>
|
||||
<% end %>
|
||||
|
||||
<%= render :partial => "heading", :locals => { :active_link_path => messages_muted_inbox_path } %>
|
||||
|
||||
<h4><%= t ".messages", :count => current_user.muted_messages.size %></h4>
|
||||
|
||||
<%= render :partial => "messages_table", :locals => { :columns => %w[from subject date], :messages => current_user.muted_messages } %>
|
Loading…
Add table
Add a link
Reference in a new issue