diff options
| author | Greg Roach <fisharebest@gmail.com> | 2018-01-10 21:43:33 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2018-01-13 11:26:45 +0000 |
| commit | 225e381f36d59b49c8cdac0060465fa5af2fc308 (patch) | |
| tree | 89cdab8ff4f2fd708b54c292ed2339c2028d38a4 /app/Select2.php | |
| parent | 181186b616da35d9a7627f0b17fa144ff9355c99 (diff) | |
| download | webtrees-225e381f36d59b49c8cdac0060465fa5af2fc308.tar.gz webtrees-225e381f36d59b49c8cdac0060465fa5af2fc308.tar.bz2 webtrees-225e381f36d59b49c8cdac0060465fa5af2fc308.zip | |
Use views for genealogy objects
Diffstat (limited to 'app/Select2.php')
| -rw-r--r-- | app/Select2.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/Select2.php b/app/Select2.php index 21b883661b..c029effb4f 100644 --- a/app/Select2.php +++ b/app/Select2.php @@ -113,7 +113,7 @@ class Select2 extends Html { // Add to the results $results[] = [ 'id' => $row->xref, - 'text' => View::make('selects/family', ['family' => $family]), + 'text' => view('selects/family', ['family' => $family]), ]; } } @@ -240,7 +240,7 @@ class Select2 extends Html { // Add to the results $results[] = [ 'id' => $row->xref, - 'text' => View::make('selects/individual', ['individual' => $individual]), + 'text' => view('selects/individual', ['individual' => $individual]), ]; } } @@ -299,7 +299,7 @@ class Select2 extends Html { // Add to the results $results[] = [ 'id' => $row->xref, - 'text' => View::make('selects/media', ['media' => $media]), + 'text' => view('selects/media', ['media' => $media]), ]; } } @@ -358,7 +358,7 @@ class Select2 extends Html { // Add to the results $results[] = [ 'id' => $row->xref, - 'text' => View::make('selects/note', ['note' => $note]), + 'text' => view('selects/note', ['note' => $note]), ]; } } @@ -510,7 +510,7 @@ class Select2 extends Html { // Add to the results $results[] = [ 'id' => $row->xref, - 'text' => View::make('selects/repository', ['repository' => $repository]), + 'text' => view('selects/repository', ['repository' => $repository]), ]; } } @@ -569,7 +569,7 @@ class Select2 extends Html { // Add to the results $results[] = [ 'id' => $row->xref, - 'text' => View::make('selects/source', ['source' => $source]), + 'text' => view('selects/source', ['source' => $source]), ]; } } @@ -632,7 +632,7 @@ class Select2 extends Html { // Add to the results $results[] = [ 'id' => $row->xref, - 'text' => View::make('selects/submitter', ['submitter' => $submitter]), + 'text' => view('selects/submitter', ['submitter' => $submitter]), ]; } } |
