diff options
author | francis <francis> | 2008-03-06 14:15:41 +0000 |
---|---|---|
committer | francis <francis> | 2008-03-06 14:15:41 +0000 |
commit | c1099db3212c200a60ad7835589cfb636e975728 (patch) | |
tree | cd8cd119cad0c486e0fa890bc1b6ae0095ba8566 /app/controllers/user_controller.rb | |
parent | f7164bb8fdc075d133f98b5c7fc789493648dc8e (diff) |
Fix up tests.
Diffstat (limited to 'app/controllers/user_controller.rb')
-rw-r--r-- | app/controllers/user_controller.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index 5789fb78b..edde31749 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.34 2008-02-28 16:55:59 francis Exp $ +# $Id: user_controller.rb,v 1.35 2008-03-06 14:15:41 francis Exp $ class UserController < ApplicationController # Show page about a set of users with same url name @@ -96,7 +96,7 @@ class UserController < ApplicationController if params[:r] redirect_to params[:r] else - redirect_to :controller => "request", :action => "frontpage" + redirect_to :controller => "general", :action => "frontpage" end end @@ -156,7 +156,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 => "request", :action => "frontpage" # XXX should go back to login and where they were! + redirect_to :controller => "general", :action => "frontpage" # XXX should go back to login and where they were! end end else |