aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/request_controller.rb
diff options
context:
space:
mode:
authorfrancis <francis>2007-10-30 17:31:31 +0000
committerfrancis <francis>2007-10-30 17:31:31 +0000
commit326c8c3b26ce95fb60cc3c519e00e1b178fada50 (patch)
treeefb61ca279a95a3f18928120100aff635613d94d /app/controllers/request_controller.rb
parent180ece0c3394c9cdd6de19dfb4860acbed550742 (diff)
Use nicer URLs for user names with funny characters in them.
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 65ab168e9..a935983ac 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.8 2007-10-30 14:13:46 francis Exp $
+# $Id: request_controller.rb,v 1.9 2007-10-30 17:31:31 francis Exp $
class RequestController < ApplicationController
@@ -46,7 +46,7 @@ class RequestController < ApplicationController
@info_request.save
@outgoing_message.send_message
flash[:notice] = "Your Freedom of Information request has been created and sent on its way."
- redirect_to request_url(:id => @info_request)
+ redirect_to show_request_url(:id => @info_request)
end
# Save both models