You don't necessarily have to redirect either, you can just render a different layout if you want: http://guides.rubyonrails.org/layouts_and_rendering.html
On Dec 23, 10:47 am, wei jack <[email protected]> wrote: > what i want to do is like u go to facebook. > > Before u login > > www.facebook.com, u see the welcome page. > > After u login > > www.facebook.com, u see the page where all friends sharing stuffs. > > -- > Posted viahttp://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 [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.

