lib/parse/blueprint.js
function saveRouteToTheList(parsedUrl, action) {
                // used to add options routes later
                if (typeof allRoutesList[parsedUrl.url] === 'undefined') {
                    allRoutesList[parsedUrl.url] = [];
                }
                allRoutesList[parsedUrl.url].push(action);
            }
function saveRouteToTheList(parsedUrl, action) {
                // used to add options routes later
                if (typeof allRoutesList[parsedUrl.url] === 'undefined') {
                    allRoutesList[parsedUrl.url] = [];
                }
                allRoutesList[parsedUrl.url].push(action);
            }
function saveRouteToTheList ( parsedUrl , action ) { // used to add options routes later if ( typeof allRoutesList [ parsedUrl . url ] === 'undefined' ) { allRoutesList [ parsedUrl . url ] = [ ] ; } allRoutesList [ parsedUrl . url ] . push ( action ) ; }
Adds route and its action to the allRoutesList. It appends the action when route already exists in the list.
@param resource Route URI
@param action HTTP action
Adds route and its action to the allRoutesList . It appends the action when route already exists in the list .