Moving Around With LinkTo

You’ll learn how to use the LinkTo method to navigate between routes in this lesson.

We can vastly improve user experience by providing links to the bands and songs pages instead of making users type into the URL bar.

Let’s add a navigation header that contains two links to navigate between the routes. This should be added to the application template, so it’s present on all pages of the application. Ember has a built-in way to go to the application’s routes, called the LinkTo component. Let’s add a simple navigation header just below the site header:

Get hands-on with 1200+ tech skills courses.