[Representation] Build URLs from templateLinker

This commit is contained in:
Victor Woeltjen
2015-10-30 11:02:13 -07:00
parent 5af3d575a2
commit 5ed34c1c30
6 changed files with 59 additions and 19 deletions

View File

@@ -72,11 +72,7 @@ define(
// Get a path to a representation
function getPath(representation) {
return [
representation.bundle.path,
representation.bundle.resources,
representation.templateUrl
].join("/");
return templateLinker.getPath(representation);
}
// Look up a matching representation for this domain object