Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
user signed in/out landing page changes
so this is a pretty basic question, i've searched and seen similar topics but it didn't work for me. doing the treebook app
i want a landing page with info and etc when not signed in, but when signed in I want the status feed.
also, I want profile pages to be able to be viewed by anyone. so basically like twitter.
I'm using rails 3.2.6
thanks in advance
Have you read this forum post on stackoverflow. If not take a look at it. It looks like what you might be asking for. You can always post your question on stackoverflow as well as treehouse and see which Answear fits your question better. I am not too good with Ruby yet so I can't give you the exact code but this post looks like it might help you out.
I've tried the first suggestion but it now it only shows my landing page. I need the second part that will show the news feed when signed in. thanks!