summaryrefslogtreecommitdiff
path: root/resources/views/modules/statistics-chart/custom.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views/modules/statistics-chart/custom.phtml')
-rw-r--r--resources/views/modules/statistics-chart/custom.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/views/modules/statistics-chart/custom.phtml b/resources/views/modules/statistics-chart/custom.phtml
index 0858373ca8..55e9bf114a 100644
--- a/resources/views/modules/statistics-chart/custom.phtml
+++ b/resources/views/modules/statistics-chart/custom.phtml
@@ -11,7 +11,7 @@ use Fisharebest\Webtrees\View;
</h4>
<form method="get" action="<?= e(route('module', ['module' => $module->name(), 'action' => 'CustomChart'])) ?>" id="own-stats-form" class="wt-page-options wt-page-options-statistics">
- <input type="hidden" name="route" value="<?= e('/module/' . $module->name() . '/CustomChart') ?>">
+ <input type="hidden" name="route" value="<?= e(route('module', ['module' => $module->name(), 'action' => 'CustomChart'])) ?>">
<input type="hidden" name="ged" value="<?= e($tree->name()) ?>">
<div class="form-group row">
<div class="col-sm-2 wt-page-options-label">