]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/message/new.html.erb
Commit avar's patch (+ fix for user not found) to change message sending URL to be...
[rails.git] / app / views / message / new.html.erb
index a356692c8f000e3973c1a7890a74e1ac94bcb830..f771f619bb2c19edb418f57cb11035c07b68fc81 100644 (file)
@@ -2,7 +2,7 @@
 
 <%= error_messages_for 'message' %>
 
-<% form_for :message, :url => { :action => "new", :user_id => @to_user.id } do |f| %>
+<% form_for :message, :url => { :action => "new", :display_name => @to_user.display_name } do |f| %>
   <table>
     <tr valign="top">
       <th><%= t'message.new.subject' %></th>