code: function route(name, titleToken, options) {
    var path, match;
    if (name instanceof RouteMeta) {
      return name;
    }
    if (name) {
      match = name.match(/^([^@]+)(?:@(.*))?$/);
      name = match[1];
      path = match[2];
      if (path === undefined) {
        path = name === 'index' ? '/' : name;
      }
      else if (path === '') {
        path = '/';
      }
      else if (path === '*') {
        path = '/*wildcard';
      }
    }
    else {
      path = '/';
    }
    return RouteMeta.create({
      name:             name || 'application',
      path:             path,
      routerTitleToken: {value: titleToken},
      options:          options || {}
    });
  }
docs: Build the Ember expected map for a route
  
  @module ember-enhanced-router
  @function route
  @param {string|RouteMeta} [name=null] The name of the route with an optional path after `@`, or null for application route
  @param {string|Function} [titleToken] The title token for that route, or a function to create it
  @param {{resetTitle: boolean}} [options] Options
  @return {RouteMeta}