Hi,
  i am using
<%=render_component(:controller=>"mycontroller",:action=>"myaction")%>
on the view.

in my controller i am checking the conditions whether session is there
or not.
  if session is there i am rendering myaction view, otherwise i am
redirecting to login controller. but it rendering the login page again
instead of redirecting.can anybody help me.is it possible to redirect
for render_component?.

Thanks
Bala
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to