Skip to content

Commit 5d87c97

Browse files
committed
Change moduleId from __ to --
1 parent 57f91de commit 5d87c97

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "medienbaecker/kirby-modules",
33
"description": "Easily add modules to your pages",
4-
"version": "2.7.3",
4+
"version": "2.7.0",
55
"license": "MIT",
66
"authors": [
77
{

lib/models.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function moduleName() {
3232
return $this->blueprint()->title();
3333
}
3434
public function moduleId() {
35-
return str_replace('.', '__', $this->intendedTemplate());
35+
return str_replace('.', '--', $this->intendedTemplate());
3636
}
3737
public function parents(): Pages {
3838
$parents = parent::parents();

0 commit comments

Comments
 (0)