Same route with multiple URLs



Is it possible for the same route, let’s say addUser to be both a child of the users for and if the general route?

Users/addUser general/addUser

Will both use the same route, controller and so on?


And ideas? I’m lost…


I think you might be better of going the opposite direction.

Create a Service Object singleton that has common state for the User and then have multiple routes/urls make use of this service and its state.

Service Objects are what is going to replace the concept of singleton controllers in the Ember 2.0.

If you are not that familiar with services here is a very minimal example

They are really easy to create in ember cli

ember generate service my-service