]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/message/_message_summary.html.erb
Silly YAML and its subtly different parsers. This worked in Syck/LibYAML in Perl...
[rails.git] / app / views / message / _message_summary.html.erb
index b00329d6e927e6b69f56d234d149ad5c22850261..3d9976aab6e8162ca9855803100910b3ce3256b4 100644 (file)
@@ -10,5 +10,5 @@
     <td><%= button_to t('message.message_summary.read_button'), :controller => 'message', :action => 'mark', :message_id => message_summary.id, :mark => 'read' %></td>
   <% end %>
   <td><%= button_to t('message.message_summary.reply_button'), :controller => 'message', :action => 'reply', :message_id => message_summary.id %></td>
-  <td><%= button_to t('message.message_summary.delete_button'), :controller => 'message', :action => 'delete', :message_id => message_summary.id %></td>
+  <td><%= button_to t('message.message_summary.delete_button'), :controller => 'message', :action => 'delete', :message_id => message_summary.id, :referer => request.request_uri %></td>
 </tr>