search for: authorize_access

Displaying 1 result from an estimated 1 matches for "authorize_access".

2007 Jul 20
3
Mozzila Logout back button issue
...ession flash[:notice] = ''You have logged out successfully'' redirect_to(:controller => ''login'', :action => ''index'') end #This method is specified private in my ApplicationController #which is inherited by my controllers def authorize_access if not session[:user_id] flash[:notice] = "Please log in." redirect_to(:controller => ''login'', :action => ''index'') return false end end Basically in a nutshell this is my problem. A user clicks the logout link which th...