nl_tokens: Check if route should be authorized and return route setting
pl_tokens: function checkUrl ( url , method , routes ) { method = method . toLowerCase ( ) ; for ( var i = 0 ; i < routes . length ; i ++ ) { var route = routes [ i ] ; if ( ( matchPath ( <mask> . url , url ) ) && ( method == route . method ) ) return route ; } return false ; }