From 0b3bb199e89719191655baf683cc3cc2004856ad Mon Sep 17 00:00:00 2001
From: Sebastian Kehr <kehr@ub.uni-leipzig.de>
Date: Mon, 22 Jul 2019 10:53:11 +0200
Subject: [PATCH] refs #15687 [master] adjust record controller configuration

---
 module/finc/config/module.config.php | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/module/finc/config/module.config.php b/module/finc/config/module.config.php
index dbc983ba4a3..62ec3fb4e0b 100644
--- a/module/finc/config/module.config.php
+++ b/module/finc/config/module.config.php
@@ -1,6 +1,9 @@
 <?php
 namespace finc\Module\Configuration;
 
+use finc\Controller\RecordController;
+use VuFind\Controller\AbstractBaseWithConfigFactory;
+
 $config = [
     'service_manager' => [
         'factories' => [
@@ -27,10 +30,11 @@ $config = [
             'dds' =>
                 'finc\Controller\Factory::getDocumentDeliveryServiceController',
             'my-research' => 'finc\Controller\Factory::getMyResearchController',
-            'record' => 'finc\Controller\Factory::getRecordController',
+            RecordController::class => AbstractBaseWithConfigFactory::class,
             'resources' => 'finc\Controller\Factory::getAmslResourceController'
         ],
         'aliases' => [
+            \VuFind\Controller\RecordController::class => RecordController::class,
             //'AJAX' => 'finc\Controller\AjaxController',
             //'ajax' => 'finc\Controller\AjaxController'
 
-- 
GitLab