On 22 December 2011 21:08, Dave Aronson
<[email protected]> wrote:
> On Thu, Dec 22, 2011 at 16:00, Tim Shaffer <[email protected]> wrote:
>
>> You could just have your welcome#index action redirect to another
>> controller/action if the user is signed in.
>
> That will work nicely for most purposes, but also means that logged-in
> users can't access the regular root page.  Just have to be careful not
> to have anything they might need, *only* on there.

It may work better the other way around, make the default root be the
page for logged in user and redirect to welcome page if not logged in.

Colin

-- 
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