]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/message/outbox.html.erb
Load the piwik tracking code asynchronously
[rails.git] / app / views / message / outbox.html.erb
index fd89581262a323b2f851cf53d6be3c3c6f4f956b..ece51428975c881bf090f6af83c69dbc042f784a 100644 (file)
@@ -1,4 +1,4 @@
-<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.messages', :count => @user.sent_messages.size %>