aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrancis <francis>2008-08-21 01:04:52 +0000
committerfrancis <francis>2008-08-21 01:04:52 +0000
commit2fe76faadb332dfab88804de15d2cbd01dc7d6cf (patch)
tree922ba60a3814eacb90df9881385c4e9ab2a41174
parentc9d8f9d79dedfacd7b3c1c5666f80f2679705753 (diff)
Fix bug that meant it wasn't sending replies to the address being replied to, but to the initial contact address.
-rw-r--r--app/views/request/_followup.rhtml2
-rw-r--r--todo.txt3
2 files changed, 4 insertions, 1 deletions
diff --git a/app/views/request/_followup.rhtml b/app/views/request/_followup.rhtml
index c60db8ff3..8ea7b4877 100644
--- a/app/views/request/_followup.rhtml
+++ b/app/views/request/_followup.rhtml
@@ -37,7 +37,7 @@
</p>
<% end %>
- <% form_for(:outgoing_message, @outgoing_message) do |o| %>
+ <% form_for(:outgoing_message, @outgoing_message, :url => incoming_message.nil? ? show_response_no_followup_url(:id => @info_request.id) : show_response_url(:id => @info_request.id, :incoming_message_id => incoming_message.id)) do |o| %>
<p>
<%= o.text_area :body, :rows => 10, :cols => 55 %>
</p>
diff --git a/todo.txt b/todo.txt
index cc9e520c0..c20b107d3 100644
--- a/todo.txt
+++ b/todo.txt
@@ -1,3 +1,6 @@
+XXX
+ Fix up that shows last resend as message?
+
Site move:
Install PostgresSQL 8.3
Move database