]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/message/new.html.erb
Link the username in the user list to their profile
[rails.git] / app / views / message / new.html.erb
index 9ae756f833d6daa5f22d5420112bd6e9cf47a5fe..151cd275936ab6fd25c4e7ae6de4bec6ac6ceb6b 100644 (file)
@@ -1,4 +1,4 @@
-<h2><%= t'message.new.send_message_to', :name => h(@to_user.display_name) %></h2>
+<h2><%= t'message.new.send_message_to', :name => link_to(h(@to_user.display_name), {:controller => 'user', :action => 'view', :display_name => @to_user.display_name}) %></h2>
 
 <%= error_messages_for 'message' %>