Commit 29d79320 authored by Röpert, Dominik's avatar Röpert, Dominik
Browse files

added baseUrl

parent e12d3e52
......@@ -98,9 +98,9 @@ $app->group('/data', function() use ($app) {
## Return specimen RDF
return $this->view->render($response, 'specimen.rdf.template.twig', [
'objectURL' => $this->get('router')->pathFor('object', [
'objectURL' => $request->getUri()->getBaseUrl().$this->get('router')->pathFor('object', [
'barcode' => $barcode]),
'rdfURL' => $this->get('router')->pathFor('rdf', [
'rdfURL' => $request->getUri()->getBaseUrl().$this->get('router')->pathFor('rdf', [
'barcode' => $barcode]),
'specimen' => $specimen,
'literals' => Config::get('rdfmapping/literals'),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment