summaryrefslogtreecommitdiff
path: root/app/Http/Controllers/IndividualController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Http/Controllers/IndividualController.php')
-rw-r--r--app/Http/Controllers/IndividualController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Http/Controllers/IndividualController.php b/app/Http/Controllers/IndividualController.php
index af2b3fbe60..34f75501b3 100644
--- a/app/Http/Controllers/IndividualController.php
+++ b/app/Http/Controllers/IndividualController.php
@@ -319,7 +319,7 @@ class IndividualController extends AbstractBaseController {
]) .
FontAwesome::linkIcon('edit', I18N::translate('Edit the name'), [
'class' => 'btn btn-link',
- 'href' => 'edit_interface.php?action=editname&xref=' . $individual->getXref() . '&fact_id=' . $fact->getFactId() . '&ged=' . e($individual->getTree()->getName()),
+ 'href' => route('edit-name', ['xref' => $individual->getXref(), 'fact_id' => $fact->getFactId(), 'ged' => $individual->getTree()->getName()]),
]);
} else {
$edit_links = '';