Displaying 1 result from an estimated 1 matches for "verify_login".
2009 Aug 06
13
Redirect after login
...edentials and manually
add /list to the address i can see what i want. So the login seems to
work, it just doesn''t redirect me. I need it to redirect me though when
the login is successful.
The part i believe i need to edit;
class JobController < ApplicationController
before_filter :verify_login, :except => [:index, :login_to_engine]
before_filter :engine, :except => [:index, :login_to_engine]
def verify_login
unless session[:engine_host]
redirect_to :controller => ''job'', :action => ''index''
return false
end
retur...