diff options
author | louise <louise> | 2007-10-16 21:17:14 +0000 |
---|---|---|
committer | louise <louise> | 2007-10-16 21:17:14 +0000 |
commit | 8277d14fc923089bef47ac92520fabec3dea64b7 (patch) | |
tree | 76f646b9b2247d9c91bd86727141466a94880d45 /app/controllers/application.rb | |
parent | 254c3a4bcde7d82dd8a3d7cafeb6a8fcf22cd433 (diff) |
Added some named routes
Diffstat (limited to 'app/controllers/application.rb')
-rw-r--r-- | app/controllers/application.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/application.rb b/app/controllers/application.rb index 1181e6ad6..e86fe7338 100644 --- a/app/controllers/application.rb +++ b/app/controllers/application.rb @@ -6,7 +6,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: application.rb,v 1.14 2007-10-15 22:38:27 louise Exp $ +# $Id: application.rb,v 1.15 2007-10-16 21:17:14 louise Exp $ class ApplicationController < ActionController::Base @@ -91,7 +91,7 @@ class ApplicationController < ActionController::Base unless session[:user] session[:intended_uri] = @request.request_uri session[:intended_params] = params - redirect_to :controller => 'user', :action => "signin" + redirect_to signin_url return false end return true |