Skip to content

Commit

Permalink
Merge pull request #120 from kngenie/WWM-330
Browse files Browse the repository at this point in the history
Pass CompositeResource to JSP for revisits so that JSP have access to…
  • Loading branch information
kngenie committed Mar 9, 2016
2 parents 8118b47 + d7e780f commit 09ae91f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ public void renderResource(HttpServletRequest httpRequest,
Resource payloadResource, ResultURIConverter uriConverter,
CaptureSearchResults results) throws ServletException, IOException,
WaybackException {
final Resource resource = payloadResource == httpHeadersResource ? payloadResource
: new CompositeResource(httpHeadersResource, payloadResource);
renderResource(httpRequest, httpResponse, wbRequest, result,
payloadResource, uriConverter, results);
resource, uriConverter, results);
}
}

0 comments on commit 09ae91f

Please sign in to comment.