Wow, I can’t believe that after a few weeks of playing around with Rails
got stuck on something that seems like it should be really simple.
How do I display a default welcome page for visitors who are not logged
and send logged in users to the appropriate controller. I am using the
login_engine and the user_engine.
The two methods I have seen looking at sample code are to stick a
http_refresh in public/index.html or to setup a default route to go to
What do you suggest? Can I build a conditional route that sends them to
‘Welcome’ controller if not logged in or the “MyApp” controller if
in? Does it make sense to build a ‘Welcome’ controller just for the
to route for it and render content with a view even though there is no
functionality and no model?
Thanks for the advice,