]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/message/read.rhtml
Make the message reply link prefill the title with "Re: original title".
[rails.git] / app / views / message / read.rhtml
index b3dcd1f23a84d3fb562c7603bef3b444e73f22bf..d0517d0bfbb0b76d2dd743e64427a6b259643e99 100644 (file)
@@ -25,7 +25,7 @@
 
 <table>
   <tr>
-    <td><%= button_to 'Reply', :controller => 'message', :action => 'new', :user_id => @message.from_user_id %></td>
+    <td><%= button_to 'Reply', :controller => 'message', :action => 'reply', :message_id => @message.id %></td>
     <td><%= button_to 'Mark as unread', :controller => 'message', :action => 'mark', :message_id => @message.id, :mark => 'unread' %></td>
     <td><%= link_to 'Back to inbox', :controller => 'message', :action => 'inbox', :display_name => @user.display_name %></td>
   </tr>