views:

39

answers:

1

I am creating a splash page for a rails app which contains an email field for the user to fill up and get notified when the site is completely launched.

What is the best way to go with?

Should I create a new application just for landing page OR should I use the same app with some variable set like ":splash => true" which would give access only to the splash page

Which would also help in deployment...

+2  A: 
  1. add a splash page

  2. add a before_filter that does a temp redirect to the splash page for all actions to your application controller.

  3. when the site is launched disable that before_filter.

glebm