Skip to content

Commit

Permalink
Change moduleId from __ to --
Browse files Browse the repository at this point in the history
  • Loading branch information
medienbaecker committed May 2, 2024
1 parent 57f91de commit 5d87c97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -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": [
{
Expand Down
2 changes: 1 addition & 1 deletion lib/models.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 5d87c97

Please sign in to comment.