Fix various routing and route generation errors
[rails.git] / app / views / message / inbox.html.erb
index bcd2da33a14abcf7bb560c6996ede6244de10fff..0cbc7c77c4748365b9b06075c2e4daf6668ed6ff 100644 (file)
@@ -1,4 +1,4 @@
-<h2><%= t'message.inbox.my_inbox'%>/<%= link_to t('message.inbox.outbox'), url_for(:controller => "user", :action => "outbox", :id => @user.display_name) %></h2>
+<h2><%= t'message.inbox.my_inbox'%>/<%= link_to t('message.inbox.outbox'), outbox_path(@user.display_name) %></h2>
 
 <%= render :partial => "message_count" %>