Welcome to the Treehouse Community
Looking to learn something new?
Naomi FreemanTreehouse Guest Teacher
Link to profiles page
Good evening everyone,
Just trying to link to a profiles page.
The generated scaffold, on index, has a link to Show, which works. However, if I move that link to the top of the page, it stops working.
I want to link to a profiles page from the Nav bar. For example, right now it goes to /statuses/1 to show the Show page.
How do I make it link_to correctly in the nav bar to just land there? Because I can't just go /statuses/show. It's particularly to the User number.
Are you using a partial? Your navigation bar should be in your application.html.erb file. Can you post the code?