Modifying URLs With Nested Routes

You’ll learn how to change URLs according to the requirements of the application in this lesson.

We'll cover the following

Changes in router.js

Here’s the command we used in Ember-CLI in the previous lesson:

ember g route bands/band --path=':id'

It generates the following code in router.js. The highlighted lines of code are the new generated code.

Get hands-on with 1200+ tech skills courses.