Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Rails 8 Course - Beginner to Intermediate!
You have completed Rails 8 Course - Beginner to Intermediate!
Preview
This video covers improving user navigation in a Rails application by enhancing the navbar, adding an account edit link using Devise’s edit_user_registration_path, and verifying routes through the terminal.
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
So let's go ahead and do that.
0:00
Okay, so the first thing that I want to do
is create a navbar for simpler navigation.
0:01
So go to App Views layouts and inside
of here we already have a navbar, but
0:04
I'm just going to make
it a little bit better.
0:08
So let's go ahead and wrap it in a div and
then let's create another link.
0:10
So just here we're going to say link_to.
0:14
And then we're gonna do home and
then inside here we'll just do root_pass.
0:17
That should be good.
0:22
So now we've got that.
0:23
And then we're just going to also bump up
the size of these actual links themselves.
0:24
So we're gonna go and
wrap them all in a h2.
0:28
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up