the user hits /intro for the first time in the site, or for
the first
time per session? if you want him to see /intro for the
first time
entering the site, and the next week when he comes to visit
your site,
you don't want him to see it, you should probably cookie
him.
if not, session is the way to go.
and in the controller you've routed the homepage to, just do
a
before_filter to the homepage action, and add a if
session[:visited?]
clause or something like that to do a redirect.
good enough?
--
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 rubyonrails-talk googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
|