summaryrefslogtreecommitdiff
path: root/app/Module/HtmlBlockModule.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Module/HtmlBlockModule.php')
-rw-r--r--app/Module/HtmlBlockModule.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Module/HtmlBlockModule.php b/app/Module/HtmlBlockModule.php
index 0e7f520e55..7a496bf074 100644
--- a/app/Module/HtmlBlockModule.php
+++ b/app/Module/HtmlBlockModule.php
@@ -83,12 +83,12 @@ class HtmlBlockModule extends AbstractModule implements ModuleBlockInterface
if ($ctype === 'gedcom' && Auth::isManager($tree)) {
$config_url = route('tree-page-block-edit', [
'block_id' => $block_id,
- 'ged' => $tree->getName(),
+ 'ged' => $tree->name(),
]);
} elseif ($ctype === 'user' && Auth::check()) {
$config_url = route('user-page-block-edit', [
'block_id' => $block_id,
- 'ged' => $tree->getName(),
+ 'ged' => $tree->name(),
]);
} else {
$config_url = '';