Refactor inbox and outbox paths to avoid display names in urls.
This commit is contained in:
parent
892c30aa8c
commit
9b36021ec5
9 changed files with 33 additions and 45 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue