Displaying 1 result from an estimated 1 matches for "intended_web".
2006 Aug 01
0
How to retrieve :web when redirecting to an Instiki page?
...z/show/Test in my browser
addressline I can access the page without any problem. So there seems to
be a problem with the redirection in my signin method, which looks like
this:
def signin
ession[:user] = User.authenticate(params[:username],
params[:password]).id
redirect_to :web=> session[:intended_web],
:controller => session[:intended_controller],
:action => session[:intended_action],
:id => session[:intended_id]
end
I realize that session[:intended_web] is a naive attempt and returns nil
since that session variable doesn''t exist, so how...