Ember.js Routing: match end of url
问题 I need to match a path into an URL. The path has to be the end of the URL after a given pattern, but I can't do it. Ember.js always end it's matching to the next slash. var router = Ember.Router.extend({ location: 'history', enableLogging: true, root: Ember.Route.extend({ index: Ember.Route.extend({ route: '/' repo: Ember.Route.extend({ route: '/:repo_id', index: Ember.Route.extend({ route: '/' }), files: Ember.Route.extend({ route: '/files', index: Ember.Route.extend({ route: '/' }), sub: