...

/

Redirecting in Ember

Redirecting in Ember

In this lesson, you’ll learn how to perform redirection in Ember.

Redirecting

Let’s say we also want to show a description of each band on a new page that we’ll call the band details page. As a first step, let’s introduce tabbed navigation for each band. One tab will list the songs that we already have while the other one will be called “Details” and show a short description of the band.

First, we create a new route for the “Details” tab. Just like songs, it should be a subroute of the bands.band route:

ember g route bands/band/details

Let’s add the ...

Access this course and 1400+ top-rated courses and projects.