Refactor inbox and outbox paths to avoid display names in urls.
[rails.git] / app / views / layouts / _header.html.erb
index a5ab460ce67924f3d294639d179238535decf26d..8411fefdb71a8f5316c6d5b0adad0a9df9ceeea0 100644 (file)
@@ -64,7 +64,7 @@
         </a>
         <ul class='dropdown-menu'>
           <li>
-            <%= link_to inbox_path(:display_name => current_user.display_name) do %>
+            <%= link_to inbox_messages_path do %>
               <span class='count-number'><%= number_with_delimiter(current_user.new_messages.size) %></span>
               <%= t('user.view.my messages') %>
             <% end %>