aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/info_request.rb
diff options
context:
space:
mode:
authorFrancis Irving <francis@mysociety.org>2010-10-18 16:16:06 +0100
committerFrancis Irving <francis@mysociety.org>2010-10-18 16:16:06 +0100
commitf3618e48ac616f8b8a5e5f1ea1b0d679ef9cc1c0 (patch)
treed2cf6fa821acf66e29520a5829708d1e026cf36c /app/models/info_request.rb
parent87de318808f6138973cf0b2438931dfb227b3bb5 (diff)
Fix bug which gave errors on submitting requests.
Diffstat (limited to 'app/models/info_request.rb')
-rw-r--r--app/models/info_request.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb
index b4dcbef77..e3336a079 100644
--- a/app/models/info_request.rb
+++ b/app/models/info_request.rb
@@ -638,6 +638,7 @@ public
info_request_event.params = params
info_request_event.info_request = self
info_request_event.save!
+ self.reload # so it knows about the new info_request_event
end
# The last response is the default one people might want to reply to