aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/request_controller.rb
diff options
context:
space:
mode:
authorFrancis Irving <francis@mysociety.org>2009-12-04 15:12:39 +0000
committerFrancis Irving <francis@mysociety.org>2009-12-04 15:12:39 +0000
commit8407e96a60d58a50373f5b39b0fe66e7ded6d40a (patch)
tree231fef30c4550b5a75f445d8830bb8416914003a /app/controllers/request_controller.rb
parent3ffcf940f089f0d3c6a8cc9ca8c88803010bc415 (diff)
When user withdraws request, prompt them to send message to authority.
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r--app/controllers/request_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb
index 2606a9609..c92dd1ce4 100644
--- a/app/controllers/request_controller.rb
+++ b/app/controllers/request_controller.rb
@@ -360,8 +360,8 @@ class RequestController < ApplicationController
flash[:notice] = "Please use the form below to tell us more."
redirect_to help_general_url(:action => 'contact')
elsif @info_request.calculate_status == 'user_withdrawn'
- flash[:notice] = "Thanks for letting us know that you've withdrawn your request. Please add an annotation below to let other people know why you withdrew it."
- redirect_to request_url(@info_request)
+ flash[:notice] = "If you have not done so already, please write a message below telling the authority that you have withdrawn your request. Otherwise they will not know it has been withdrawn."
+ redirect_to respond_to_last_url(@info_request)
else
raise "unknown calculate_status " + @info_request.calculate_status
end