]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/message/outbox.html.erb
Mark yet more methods as needing write access to the database
[rails.git] / app / views / message / outbox.html.erb
index 9662fdbce397b13076f31dadc325a10aed8fa567..6f6823c1bbf036537bd4bbdb90850767f7cd3927 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 %></p>
 
 <% if @user.sent_messages.size > 0 %>
   <div id="messages">