The :user_id part is called a dynamic segment because the corresponding user ID will be injected into the URL. So, it will look like /users/3/edit, where 3 is the user with the ID of 3. You can define either a route or a resource. Keep in mind that a resource is a group of routes and that it allows routes to be nested. A resource also resets the nested naming convention to the last resource name,
![Ember JS – An In-Depth Introduction — Smashing Magazine](https://cdn-ak-scissors.b.st-hatena.com/image/square/fa70edbb478976a9f74616211636ddeaec552c65/height=288;version=1;width=512/https%3A%2F%2Farchive.smashing.media%2Fassets%2F344dbf88-fdf9-42bb-adb4-46f01eedd629%2F43009de5-2a88-45b2-9870-457977cff82f%2Femberjs-logo1.png)