fixing erroneous EntityController commit

This commit is contained in:
bjl23 2010-10-01 19:03:22 +00:00
parent 997934d6d8
commit 96f5c225f2

View file

@ -227,10 +227,9 @@ public class EntityController extends VitroHttpServlet {
css += customCss;
}
if( indiv.getURI().startsWith( vreq.getWebappDaoFactory().getDefaultNamespace() )){
String entityLinkedDataURL = indiv.getURI() + "/" + indiv.getLocalName() + ".rdf";
vreq.setAttribute("entityLinkedDataURL", entityLinkedDataURL);
}
if( indiv.getURI().startsWith( vreq.getWebappDaoFactory().getDefaultNamespace() )){
vreq.setAttribute("entityLinkedDataURL", indiv.getURI() + "/" + indiv.getLocalName() + ".rdf");
}
vreq.setAttribute("css",css);
vreq.setAttribute("scripts", "/templates/entity/entity_inject_head.jsp");