- @viewurl = url_for(:controller => "user", :action => "view",
- :display_name => @friend.befriender.display_name)
- @friendurl = url_for(:controller => "user", :action => "make_friend",
+ @viewurl = user_url(@friend.befriender)
+ @friendurl = url_for(:controller => "users", :action => "make_friend",