Hi. I am new to Rails. I am doing a web project for my school. It has
models like Page, Student and Forum. Page model is for creating pages
like home page, help, contact, about, feedback, etc. My route has my
home page as :controller => “pages”, :action => “show”, :id => “1”.
Students have registrations to access and use the forum. I am using a
cookie based session storage. How can i redirect the student to the
forums index which is :controller => “forums”, :action => “index”
instead of home page even when he types the home page
address(www.homepage.com), if he had already logged in and had set
Remember my password.
Thanks in advance.