]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/message/outbox.html.erb
Fix various routing and route generation errors
[rails.git] / app / views / message / outbox.html.erb
index 9662fdbce397b13076f31dadc325a10aed8fa567..ece51428975c881bf090f6af83c69dbc042f784a 100644 (file)
@@ -1,6 +1,6 @@
-<h2><%= raw(t'message.outbox.my_inbox', :inbox_link => link_to(t('message.outbox.inbox'), url_for(:controller => "user", :action => "inbox", :id => @user.display_name))) %>/<%= t'message.outbox.outbox' %></h2>
+<h2><%= raw(t'message.outbox.my_inbox', :inbox_link => link_to(t('message.outbox.inbox'), inbox_path(@user.display_name))) %>/<%= t'message.outbox.outbox' %></h2>
 
 
-<p><%= t'message.outbox.you_have_sent_messages', :count => @user.sent_messages.size %>
+<p><%= t'message.outbox.messages', :count => @user.sent_messages.size %>
 
 <% if @user.sent_messages.size > 0 %>
   <div id="messages">
 
 <% if @user.sent_messages.size > 0 %>
   <div id="messages">