code: function getAliases(actionObj, defaultVerb, defaultPath, hasAlias) {
      if (hasAlias === false) return [];
      if (actionObj.aliases.length !== 0) {
        return actionObj.aliases; // some custom aliases.
      }
      var rootPath = actionObj.rootPath;
      if (rootPath.charAt(0) !== '/') rootPath = '/' + rootPath;
      if (rootPath.charAt(rootPath.length - 1) === '/') rootPath = rootPath.substr(0, rootPath.length - 1);
      rootPath += defaultPath;
      return [[defaultVerb, rootPath]];
    }
docs: /* Returns an array of aliases for the given action