aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/user_controller.rb
diff options
context:
space:
mode:
authorfrancis <francis>2008-02-12 11:42:09 +0000
committerfrancis <francis>2008-02-12 11:42:09 +0000
commit2c93b06b7676fb7339baf1fd0ed30f2ca466206d (patch)
tree656ef0006b6446a6e4ca00e41e9c2a65fb6f0061 /app/controllers/user_controller.rb
parent1ddb79d6f180581a75895db8d9cd8890cef7cf3d (diff)
Delete old sessions and post redirects.
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 a8aa472c0..4aad19cd4 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.23 2008-01-10 18:20:35 francis Exp $
+# $Id: user_controller.rb,v 1.24 2008-02-12 11:42:09 francis Exp $
class UserController < ApplicationController
# XXX See controllers/application.rb simplify_url_part for reverse of expression in SQL below
@@ -67,7 +67,7 @@ class UserController < ApplicationController
post_redirect = PostRedirect.find_by_email_token(params[:email_token])
if post_redirect.nil?
- render 'user/bad_token'
+ render :template => 'user/bad_token.rhtml'
return
end