summaryrefslogtreecommitdiff
path: root/resources/views/places-page.phtml
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-10-10 22:18:35 +0100
committerGreg Roach <fisharebest@webtrees.net>2019-10-10 23:46:23 +0100
commitd72b284a0846ca045e548a1c77ad11813bcbab92 (patch)
treec78962f625387d5690001276a686412b43655dd1 /resources/views/places-page.phtml
parent2d49f7de3b1ce9163abdb1271bf1de85850457d4 (diff)
downloadwebtrees-d72b284a0846ca045e548a1c77ad11813bcbab92.tar.gz
webtrees-d72b284a0846ca045e548a1c77ad11813bcbab92.tar.bz2
webtrees-d72b284a0846ca045e548a1c77ad11813bcbab92.zip
Working on routing
Diffstat (limited to 'resources/views/places-page.phtml')
-rw-r--r--resources/views/places-page.phtml6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/views/places-page.phtml b/resources/views/places-page.phtml
index 59ea3d5877..087899f128 100644
--- a/resources/views/places-page.phtml
+++ b/resources/views/places-page.phtml
@@ -7,7 +7,7 @@ use Fisharebest\Webtrees\I18N; ?>
<h4><?= $title ?></h4>
<h5 class="text-center">
<?php if ($current) : ?>
- <a href="<?= e(route('module', ['module' => $module, 'action' => $action, 'ged' => $tree->name()])) ?>">
+ <a href="<?= e(route('module', ['module' => $module, 'action' => $action, 'tree' => $tree->name()])) ?>">
<?= I18N::translate('World') ?>
</a>
<?php else : ?>
@@ -31,13 +31,13 @@ use Fisharebest\Webtrees\I18N; ?>
<?= $content ?>
<div class="text-center">
<?php if ($showeventslink) : ?>
- <a class="formField" href= <?= e(route('module', ['module' => $module, 'action' => $action, 'ged' => $tree->name(), 'parent' => $parent, 'action2' => 'hierarchy-e'])) ?>>
+ <a class="formField" href= <?= e(route('module', ['module' => $module, 'action' => $action, 'tree' => $tree->name(), 'parent' => $parent, 'action2' => 'hierarchy-e'])) ?>>
<?= I18N::translate('View table of events occurring in %s', $place) ?>
</a>
|
<?php endif ?>
- <a href="<?= e(route('module', ['module' => $module, 'action' => $action, 'ged' => $tree->name(), 'action2' => key($nextaction)])) ?>">
+ <a href="<?= e(route('module', ['module' => $module, 'action' => $action, 'tree' => $tree->name(), 'action2' => key($nextaction)])) ?>">
<?= current($nextaction) ?>
</a>
</div>