MCPcopy
hub / github.com/mgonto/restangular / oneUrl

Function oneUrl

src/restangular.js:894–901  ·  view source on GitHub ↗
(parent, route, url)

Source from the content-addressed store, hash-verified

892 }
893
894 function oneUrl(parent, route, url) {
895 if (!route) {
896 throw new Error('Route is mandatory when creating new Restangular objects.');
897 }
898 var elem = {};
899 config.setUrlToElem(elem, url, route);
900 return restangularizeElem(parent, elem, route, false);
901 }
902
903
904 function allUrl(parent, route, url) {

Callers

nothing calls this directly

Calls 1

restangularizeElemFunction · 0.85

Tested by

no test coverage detected