DanWahlin / Angular-JumpStart

Angular and TypeScript JumpStart example application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Should `/customer/:id/details/` route change to just `/customer/:id/`?

Meligy opened this issue · comments

Now that the new router doesn't have useAsDefault, this means the customer route doesn't show much.

Is this intentional to show to the sample observers, or should it be fixed, maybe by changing the /details route to be default /?

Thanks a lot.

The customer route loads the CustomerComponent which then loads child routes. As a result I'll want to leave customer/2/details, etc. so that deep linking can be used on the child routes for details, orders and edit.