diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/EntityController.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/EntityController.java index 06b04ebf7..be40d48d9 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/EntityController.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/EntityController.java @@ -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");