diff options
author | francis <francis> | 2007-10-30 17:31:31 +0000 |
---|---|---|
committer | francis <francis> | 2007-10-30 17:31:31 +0000 |
commit | 326c8c3b26ce95fb60cc3c519e00e1b178fada50 (patch) | |
tree | efb61ca279a95a3f18928120100aff635613d94d /app/controllers/request_controller.rb | |
parent | 180ece0c3394c9cdd6de19dfb4860acbed550742 (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.rb | 4 |
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 |