diff options
| author | Greg Roach <fisharebest@gmail.com> | 2018-01-08 22:24:08 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2018-01-08 22:24:48 +0000 |
| commit | 4f67d23ea44c2be7f324809b020a1f0cc87a97f4 (patch) | |
| tree | c5b48ef6709678261b25ea00a131a40c3f0b4d11 /family.php | |
| parent | d2bb6b7d72539eaa61064be10ccd175be9786127 (diff) | |
| download | webtrees-4f67d23ea44c2be7f324809b020a1f0cc87a97f4.tar.gz webtrees-4f67d23ea44c2be7f324809b020a1f0cc87a97f4.tar.bz2 webtrees-4f67d23ea44c2be7f324809b020a1f0cc87a97f4.zip | |
Move HTML from controller to view
Diffstat (limited to 'family.php')
| -rw-r--r-- | family.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/family.php b/family.php index c6ff85a05a..2c2faec2a5 100644 --- a/family.php +++ b/family.php @@ -38,7 +38,9 @@ if ($controller->record && $controller->record->canShow()) { return; } +$facts = $controller->record->getFacts(null, true); + echo View::make('family-page', [ 'family' => $controller->record, - 'facts' => $controller->familyFacts(), + 'facts' => $facts, ]); |
