Corrigindo testes

This commit is contained in:
2008-03-05 03:44:39 -03:00
parent ca075b77be
commit f757e49b64
8 changed files with 20 additions and 68 deletions

View File

@@ -17,7 +17,7 @@ module AuthenticationSystem
if !logged_in?
flash[:warning] = 'You must be logged in to access this section of the site'[:login_required]
session[:return_to] = request.request_uri
redirect_to :controller => 'users', :action => 'login'
redirect_to login_url
end
end