From 5d87c97585d054b2976fbb02ad858013b8754bff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Gu=CC=88nther?= Date: Thu, 2 May 2024 11:27:24 +0200 Subject: [PATCH] Change moduleId from __ to -- --- composer.json | 2 +- lib/models.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index eb70429..bb67c7c 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "medienbaecker/kirby-modules", "description": "Easily add modules to your pages", - "version": "2.7.3", + "version": "2.7.0", "license": "MIT", "authors": [ { diff --git a/lib/models.php b/lib/models.php index 5a906c8..7b78b33 100644 --- a/lib/models.php +++ b/lib/models.php @@ -32,7 +32,7 @@ public function moduleName() { return $this->blueprint()->title(); } public function moduleId() { - return str_replace('.', '__', $this->intendedTemplate()); + return str_replace('.', '--', $this->intendedTemplate()); } public function parents(): Pages { $parents = parent::parents();