From 78171ca081dbd8c5d29b396779b9cbeab886de6d Mon Sep 17 00:00:00 2001 From: francis Date: Tue, 11 Nov 2008 13:59:26 +0000 Subject: Better help when new request made --- app/controllers/request_controller.rb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'app/controllers/request_controller.rb') diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb index cfb9c1a05..f891c981a 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -4,7 +4,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: request_controller.rb,v 1.139 2008-11-10 18:08:29 francis Exp $ +# $Id: request_controller.rb,v 1.140 2008-11-11 13:59:26 francis Exp $ class RequestController < ApplicationController @@ -199,7 +199,11 @@ class RequestController < ApplicationController @info_request.save! # XXX send_message needs the database id, so we send after saving, which isn't ideal if the request broke here. @outgoing_message.send_message - flash[:notice] = "Your " + @info_request.law_used_full + " request has been created and sent on its way!" + flash[:notice] = "

Your " + @info_request.law_used_full + " request has been sent on its way!

+

We will email you when there is a response, or after 20 working days if the authority still hasn't + replied by then.

+

If you write about this request (for example in a forum or a blog) please link to this page, and add an + annotation below telling people about your writing.

" redirect_to request_url(@info_request) else # do nothing - as "authenticated?" has done the redirect to signin page for us -- cgit v1.2.3