Quiz: Nested Routing

Attempt this quiz to test what you’ve learned so far about nested routing in Ember.

We'll cover the following...

Select the correct option.

1.

What is the correct way to define the dynamic part of a route?

A.

this.route(‘edit’, path: ‘:product_id’)

B.

this.route(‘edit’, { path = ‘:product_id’ })

C.

this.route(‘edit’, path = ‘:product_id’)

D.

this.route(‘edit’, { path: ‘:product_id’ })


1 / 5