aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/user_controller.rb
diff options
context:
space:
mode:
authorfrancis <francis>2008-03-21 15:31:31 +0000
committerfrancis <francis>2008-03-21 15:31:31 +0000
commit788ddd480c7c131a5c04d0923ccb354a545c39b1 (patch)
tree5824b424af05ea55aca1b7e97185e558a62f3c5a /app/controllers/user_controller.rb
parent910299dc932f9b32dc29cc35631afe62566e9cbb (diff)
Test stuff for password changing.
Diffstat (limited to 'app/controllers/user_controller.rb')
-rw-r--r--app/controllers/user_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb
index ec9f8b71a..61ea74923 100644
--- a/app/controllers/user_controller.rb
+++ b/app/controllers/user_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: user_controller.rb,v 1.43 2008-03-21 15:02:55 francis Exp $
+# $Id: user_controller.rb,v 1.44 2008-03-21 15:31:31 francis Exp $
class UserController < ApplicationController
# Show page about a set of users with same url name
@@ -165,7 +165,7 @@ class UserController < ApplicationController
post_redirect = PostRedirect.find_by_token(params[:pretoken])
do_post_redirect post_redirect.uri, post_redirect.post_params
else
- redirect_to :controller => "general", :action => "frontpage" # XXX should go back to login and where they were!
+ redirect_to user_url(@user)
end
end
else