From 3b6b16bf2dbccc106bb9d7bfec736add1e190100 Mon Sep 17 00:00:00 2001
From: Thijs Kinkhorst <thijs@kinkhorst.com>
Date: Fri, 8 Mar 2019 15:49:39 +0000
Subject: [PATCH] Improve path of md converter

---
 modules/admin/lib/FederationController.php | 2 +-
 modules/admin/routes.yaml                  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/admin/lib/FederationController.php b/modules/admin/lib/FederationController.php
index 98a0826e3..5680c2cc8 100644
--- a/modules/admin/lib/FederationController.php
+++ b/modules/admin/lib/FederationController.php
@@ -121,7 +121,7 @@ class FederationController
         $t->data = [
             'links' => [
                 [
-                    'href' => Module::getModuleURL('admin/metadata-converter'),
+                    'href' => Module::getModuleURL('admin/federation/metadata-converter'),
                     'text' => Translate::noop('XML to SimpleSAMLphp metadata converter'),
                 ]
             ],
diff --git a/modules/admin/routes.yaml b/modules/admin/routes.yaml
index 3d016c505..672ca0f2b 100644
--- a/modules/admin/routes.yaml
+++ b/modules/admin/routes.yaml
@@ -14,5 +14,5 @@ admin-fed:
     path:       /federation
     defaults:   { _controller: 'SimpleSAML\Module\admin\FederationController::main' }
 admin-fed-converter:
-    path:       /metadata-converter
+    path:       /federation/metadata-converter
     defaults:   { _controller: 'SimpleSAML\Module\admin\FederationController::metadataConverter' }
-- 
GitLab