Ruby on Rails Thursday, December 22, 2011

On Thu, Dec 22, 2011 at 16:00, Tim Shaffer <timshaffer@me.com> 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.

-Dave

--
Dave Aronson, President, Dave Aronson Software Engineering & Training
Ruby on Rails (and others languages) Freelancer (NoVa, DC, or Remote)
On the web: www.DaveAronson.com, www.Codosaur.us, and www.Dare2XL.com
Specialization is for insects. (Heinlein) Have Pun, Will Babble! (me)

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

No comments:

Post a Comment