search for: intended_module

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

2006 Jul 09
1
Accessing the name of a controller''s module?
...n once the action I''m redirected to is completed I use this code to return the user to the appropriate original page: redirect_to :action => session[:intended_action], :controller => session[:intended_controller] Do I need a line that works like: session[:intended_module] = module_name Or am I totally barking up the wrong tree and should not be redirecting in and out of modules? It seems repititious to have different log in methods for each module.