xref: /webtrees/app/Http/Routes/WebRoutes.php (revision c8d78f19d0bdf4c0ec4728253bd37250d2e6cec4)
12279b4f3SGreg Roach<?php
22279b4f3SGreg Roach
32279b4f3SGreg Roach/**
42279b4f3SGreg Roach * webtrees: online genealogy
590949315SGreg Roach * Copyright (C) 2021 webtrees development team
62279b4f3SGreg Roach * This program is free software: you can redistribute it and/or modify
72279b4f3SGreg Roach * it under the terms of the GNU General Public License as published by
82279b4f3SGreg Roach * the Free Software Foundation, either version 3 of the License, or
92279b4f3SGreg Roach * (at your option) any later version.
102279b4f3SGreg Roach * This program is distributed in the hope that it will be useful,
112279b4f3SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
122279b4f3SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
132279b4f3SGreg Roach * GNU General Public License for more details.
142279b4f3SGreg Roach * You should have received a copy of the GNU General Public License
1589f7189bSGreg Roach * along with this program. If not, see <https://www.gnu.org/licenses/>.
162279b4f3SGreg Roach */
172279b4f3SGreg Roach
182279b4f3SGreg Roachdeclare(strict_types=1);
192279b4f3SGreg Roach
202279b4f3SGreg Roachnamespace Fisharebest\Webtrees\Http\Routes;
212279b4f3SGreg Roach
222279b4f3SGreg Roachuse Aura\Router\Map;
232279b4f3SGreg Roachuse Fig\Http\Message\RequestMethodInterface;
242279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\Middleware\AuthAdministrator;
252279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\Middleware\AuthEditor;
262279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\Middleware\AuthLoggedIn;
272279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\Middleware\AuthManager;
282279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\Middleware\AuthModerator;
292279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\AccountDelete;
302279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\AccountEdit;
312279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\AccountUpdate;
327c7d1e03SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\AddChildToFamilyAction;
337c7d1e03SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\AddChildToFamilyPage;
347c7d1e03SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\AddChildToIndividualAction;
357c7d1e03SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\AddChildToIndividualPage;
36ddb44b4cSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\AddMediaFileAction;
37ddb44b4cSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\AddMediaFileModal;
382279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\AddNewFact;
397c7d1e03SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\AddParentToIndividualAction;
407c7d1e03SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\AddParentToIndividualPage;
417c7d1e03SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\AddSpouseToFamilyAction;
427c7d1e03SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\AddSpouseToFamilyPage;
437c7d1e03SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\AddSpouseToIndividualAction;
447c7d1e03SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\AddSpouseToIndividualPage;
457c7d1e03SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\AddUnlinkedAction;
467c7d1e03SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\AddUnlinkedPage;
476577bfc3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\AdminMediaFileDownload;
486577bfc3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\AdminMediaFileThumbnail;
4946431a62SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\AppleTouchIconPng;
5063763244SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\AutoCompleteCitation;
5163763244SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\AutoCompleteFolder;
5263763244SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\AutoCompletePlace;
5363763244SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\AutoCompleteSurname;
54e381f98dSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\BroadcastAction;
55e381f98dSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\BroadcastPage;
56d36fce8cSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\BrowserconfigXml;
57b00cb080SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\CalendarAction;
58b00cb080SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\CalendarEvents;
59b00cb080SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\CalendarPage;
6043322877SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ChangeFamilyMembersAction;
6143322877SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ChangeFamilyMembersPage;
626fd01894SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\CheckTree;
632279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\CleanDataFolder;
64e381f98dSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ContactAction;
65e381f98dSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ContactPage;
662279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ControlPanel;
672279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\CopyFact;
68c2ed51d1SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\CreateLocationAction;
69c2ed51d1SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\CreateLocationModal;
702279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\CreateMediaObjectAction;
71ddb44b4cSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\CreateMediaObjectFromFile;
722279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\CreateMediaObjectModal;
732279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\CreateNoteAction;
742279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\CreateNoteModal;
752279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\CreateRepositoryAction;
762279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\CreateRepositoryModal;
772279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\CreateSourceAction;
782279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\CreateSourceModal;
79c2ed51d1SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\CreateSubmissionAction;
80c2ed51d1SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\CreateSubmissionModal;
812279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\CreateSubmitterAction;
822279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\CreateSubmitterModal;
832279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\CreateTreeAction;
842279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\CreateTreePage;
85ce42304aSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\DataFixChoose;
8655749c76SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\DataFixData;
8755749c76SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\DataFixPage;
88ce42304aSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\DataFixPreview;
89ce42304aSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\DataFixSelect;
9055749c76SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\DataFixUpdate;
9155749c76SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\DataFixUpdateAll;
922279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\DeleteFact;
932279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\DeletePath;
942279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\DeleteRecord;
952279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\DeleteTreeAction;
962279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\DeleteUser;
9755749c76SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\EditFactAction;
98a53fee79SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\EditFactPage;
99ddb44b4cSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\EditMediaFileAction;
100ddb44b4cSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\EditMediaFileModal;
1019dce578dSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\EditNoteAction;
1029dce578dSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\EditNotePage;
1032279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\EditRawFactAction;
1042279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\EditRawFactPage;
1052279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\EditRawRecordAction;
1062279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\EditRawRecordPage;
107c2ed51d1SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\EditRecordAction;
108c2ed51d1SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\EditRecordPage;
109901ade19SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\EmailPreferencesAction;
110901ade19SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\EmailPreferencesPage;
1119927f70fSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\EmptyClipboard;
1126d576906SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ExportGedcomClient;
1136d576906SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ExportGedcomPage;
1146d576906SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ExportGedcomServer;
1152279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\FamilyPage;
11646431a62SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\FaviconIco;
1176fd01894SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\FindDuplicateRecords;
1184b3ef6caSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\FixLevel0MediaAction;
1194b3ef6caSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\FixLevel0MediaData;
1204b3ef6caSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\FixLevel0MediaPage;
1216fd01894SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\GedcomLoad;
1222279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\GedcomRecordPage;
1231635452cSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\HeaderPage;
1242279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\HelpText;
1252279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\HomePage;
1266fd01894SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ImportGedcomAction;
1276fd01894SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ImportGedcomPage;
1284b3ef6caSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ImportThumbnailsAction;
1294b3ef6caSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ImportThumbnailsData;
1304b3ef6caSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ImportThumbnailsPage;
1312279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\IndividualPage;
1327c7d1e03SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\LinkChildToFamilyAction;
1337c7d1e03SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\LinkChildToFamilyPage;
134ddb44b4cSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\LinkMediaToFamilyModal;
135ddb44b4cSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\LinkMediaToIndividualModal;
136ddb44b4cSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\LinkMediaToRecordAction;
137ddb44b4cSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\LinkMediaToSourceModal;
1387c7d1e03SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\LinkSpouseToIndividualAction;
1397c7d1e03SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\LinkSpouseToIndividualPage;
140e8ded2caSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\LocationPage;
1412279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\LoginAction;
1422279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\LoginPage;
1432279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\Logout;
1448ce3bd73SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ManageMediaAction;
1458ce3bd73SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ManageMediaData;
1468ce3bd73SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ManageMediaPage;
1476fd01894SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ManageTrees;
14890949315SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\MapDataAdd;
14994e35917SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\MapDataDelete;
1507b5ff3baSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\MapDataDeleteUnused;
15190949315SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\MapDataEdit;
15290949315SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\MapDataExportCSV;
15390949315SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\MapDataExportGeoJson;
15490949315SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\MapDataImportAction;
15590949315SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\MapDataImportPage;
15694e35917SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\MapDataList;
15790949315SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\MapDataSave;
158040e7dbaSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\Masquerade;
15946b03695SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\MediaFileDownload;
16046b03695SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\MediaFileThumbnail;
1612279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\MediaPage;
1625bbfbb82SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\MergeFactsAction;
1635bbfbb82SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\MergeFactsPage;
1645bbfbb82SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\MergeRecordsAction;
1655bbfbb82SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\MergeRecordsPage;
1666fd01894SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\MergeTreesAction;
1676fd01894SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\MergeTreesPage;
168e381f98dSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\MessageAction;
169e381f98dSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\MessagePage;
170e381f98dSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\MessageSelect;
1712279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModuleAction;
1729f667ff2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModuleDeleteSettings;
1736fd01894SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesAllAction;
1746fd01894SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesAllPage;
1759f667ff2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesAnalyticsAction;
1769f667ff2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesAnalyticsPage;
1779f667ff2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesBlocksAction;
1789f667ff2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesBlocksPage;
1799f667ff2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesChartsAction;
1809f667ff2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesChartsPage;
1814da96842SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesCustomTagsAction;
1824da96842SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesCustomTagsPage;
1839f667ff2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesDataFixesAction;
1849f667ff2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesDataFixesPage;
1859f667ff2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesFootersAction;
1869f667ff2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesFootersPage;
1879f667ff2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesHistoricEventsAction;
1889f667ff2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesHistoricEventsPage;
1899f667ff2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesLanguagesAction;
1909f667ff2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesLanguagesPage;
1919f667ff2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesListsAction;
1929f667ff2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesListsPage;
193c9c6f2ecSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapAutocompleteAction;
194c9c6f2ecSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapAutocompletePage;
195e3544cb2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapLinksAction;
196e3544cb2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapLinksPage;
197c9c6f2ecSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapProvidersAction;
198c9c6f2ecSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapProvidersPage;
199c9c6f2ecSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapGeoLocationsAction;
200c9c6f2ecSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapGeoLocationsPage;
2019f667ff2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesMenusAction;
2029f667ff2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesMenusPage;
2039f667ff2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesReportsAction;
2049f667ff2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesReportsPage;
2058a1a28d7SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesSharesAction;
2068a1a28d7SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesSharesPage;
2079f667ff2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesSidebarsAction;
2089f667ff2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesSidebarsPage;
2099f667ff2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesTabsAction;
2109f667ff2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesTabsPage;
2119f667ff2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesThemesAction;
2129f667ff2SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModulesThemesPage;
2132279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\NotePage;
2142279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\PasswordRequestAction;
2152279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\PasswordRequestPage;
2162279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\PasswordResetAction;
2172279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\PasswordResetPage;
2182279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\PasteFact;
2192279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\PendingChanges;
2202279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesAcceptChange;
2212279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesAcceptRecord;
2222279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesAcceptTree;
2232279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesLogAction;
2242279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesLogData;
2252279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesLogDelete;
2262279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesLogDownload;
2272279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesLogPage;
2282279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesRejectChange;
2292279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesRejectRecord;
2302279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\PendingChangesRejectTree;
2312279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\PhpInformation;
2322279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\Ping;
2332279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\RegisterAction;
2342279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\RegisterPage;
2356fd01894SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\RenumberTreeAction;
2366fd01894SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\RenumberTreePage;
2372279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ReorderChildrenAction;
2382279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ReorderChildrenPage;
239901ade19SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ReorderFamiliesAction;
240901ade19SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ReorderFamiliesPage;
2412279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ReorderMediaAction;
2422279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ReorderMediaPage;
2432279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ReorderNamesAction;
2442279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ReorderNamesPage;
2452279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ReportGenerate;
2462279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ReportListAction;
2472279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ReportListPage;
2482279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ReportSetupAction;
2492279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ReportSetupPage;
2502279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\RepositoryPage;
2512279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\RobotsTxt;
2522279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SearchAdvancedAction;
2532279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SearchAdvancedPage;
2542279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SearchGeneralAction;
2552279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SearchGeneralPage;
2562279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SearchPhoneticAction;
2572279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SearchPhoneticPage;
2582279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SearchQuickAction;
2592279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SearchReplaceAction;
2602279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SearchReplacePage;
261*c8d78f19SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\TomSelectFamily;
262*c8d78f19SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\TomSelectIndividual;
263*c8d78f19SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\TomSelectLocation;
264*c8d78f19SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\TomSelectMediaObject;
265*c8d78f19SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\TomSelectNote;
266*c8d78f19SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\TomSelectPlace;
267*c8d78f19SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\TomSelectRepository;
268*c8d78f19SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\TomSelectSource;
269*c8d78f19SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\TomSelectSubmission;
270*c8d78f19SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\TomSelectSubmitter;
2712279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SelectDefaultTree;
2722279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SelectLanguage;
2732279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SelectNewFact;
2742279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SelectTheme;
2752279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SiteLogsAction;
2762279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SiteLogsData;
2772279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SiteLogsDelete;
2782279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SiteLogsDownload;
2792279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SiteLogsPage;
280c7aa856bSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SitePreferencesAction;
281c7aa856bSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SitePreferencesPage;
282c7aa856bSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SiteRegistrationAction;
283c7aa856bSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SiteRegistrationPage;
2842279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SourcePage;
2851635452cSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SubmissionPage;
286ffc0a61fSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SubmitterPage;
2876fd01894SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SynchronizeTrees;
2888e0e1b25SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\TreePage;
2898e0e1b25SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\TreePageBlock;
2908e0e1b25SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\TreePageBlockEdit;
2918e0e1b25SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\TreePageBlockUpdate;
2928e0e1b25SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\TreePageDefaultEdit;
2938e0e1b25SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\TreePageDefaultUpdate;
2948e0e1b25SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\TreePageEdit;
2958e0e1b25SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\TreePageUpdate;
2966fd01894SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\TreePreferencesAction;
2976fd01894SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\TreePreferencesPage;
2986fd01894SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\TreePrivacyAction;
2996fd01894SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\TreePrivacyPage;
300c8183f29SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SiteTagsAction;
301c8183f29SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\SiteTagsPage;
30296716c47SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\UnconnectedAction;
30396716c47SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\UnconnectedPage;
3044b3ef6caSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\UpgradeWizardConfirm;
3054b3ef6caSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\UpgradeWizardPage;
3064b3ef6caSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\UpgradeWizardStep;
3078ce3bd73SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\UploadMediaAction;
3088ce3bd73SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\UploadMediaPage;
3094c3563c0SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\UserAddAction;
3104c3563c0SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\UserAddPage;
3114c3563c0SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\UserEditAction;
3124c3563c0SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\UserEditPage;
3134c3563c0SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\UserListData;
3144c3563c0SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\UserListPage;
3158e0e1b25SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\UserPage;
3168e0e1b25SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\UserPageBlock;
3178e0e1b25SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\UserPageBlockEdit;
3188e0e1b25SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\UserPageBlockUpdate;
3198e0e1b25SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\UserPageDefaultEdit;
3208e0e1b25SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\UserPageDefaultUpdate;
3218e0e1b25SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\UserPageEdit;
3228e0e1b25SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\UserPageUpdate;
3232474349cSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\UsersCleanupAction;
3242474349cSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\UsersCleanupPage;
3252279b4f3SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\VerifyEmail;
326439bf5cfSGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\WebmanifestJson;
3272279b4f3SGreg Roach
3282279b4f3SGreg Roach/**
3292279b4f3SGreg Roach * Routing table for web requests
3302279b4f3SGreg Roach */
3312279b4f3SGreg Roachclass WebRoutes
3322279b4f3SGreg Roach{
333ac701fbdSGreg Roach    /**
334ac701fbdSGreg Roach     * @param Map $router
335ac701fbdSGreg Roach     *
336ac701fbdSGreg Roach     * @return void
337ac701fbdSGreg Roach     */
3382279b4f3SGreg Roach    public function load(Map $router): void
3392279b4f3SGreg Roach    {
340901ade19SGreg Roach        $router->attach('', '', static function (Map $router) {
3412279b4f3SGreg Roach            // Admin routes.
3422279b4f3SGreg Roach            $router->attach('', '/admin', static function (Map $router) {
3432279b4f3SGreg Roach                $router->extras([
344901ade19SGreg Roach                    'middleware' => [
345901ade19SGreg Roach                        AuthAdministrator::class,
346901ade19SGreg Roach                    ],
3472279b4f3SGreg Roach                ]);
3482279b4f3SGreg Roach
349451d4d87SGreg Roach                $router->get(ControlPanel::class, '');
350451d4d87SGreg Roach                $router->get(BroadcastPage::class, '/broadcast');
351451d4d87SGreg Roach                $router->post(BroadcastAction::class, '/broadcast');
352451d4d87SGreg Roach                $router->get(CleanDataFolder::class, '/clean');
353451d4d87SGreg Roach                $router->post(DeletePath::class, '/delete-path');
354451d4d87SGreg Roach                $router->get(EmailPreferencesPage::class, '/email');
355451d4d87SGreg Roach                $router->post(EmailPreferencesAction::class, '/email');
3564b3ef6caSGreg Roach                $router->get(FixLevel0MediaPage::class, '/fix-level-0-media');
3574b3ef6caSGreg Roach                $router->post(FixLevel0MediaAction::class, '/fix-level-0-media');
3584b3ef6caSGreg Roach                $router->get(FixLevel0MediaData::class, '/fix-level-0-media-data');
359451d4d87SGreg Roach                $router->get(PhpInformation::class, '/information');
360451d4d87SGreg Roach                $router->get(SiteLogsPage::class, '/logs');
361451d4d87SGreg Roach                $router->post(SiteLogsAction::class, '/logs');
362451d4d87SGreg Roach                $router->get(SiteLogsData::class, '/logs-data');
363451d4d87SGreg Roach                $router->post(SiteLogsDelete::class, '/logs-delete');
364451d4d87SGreg Roach                $router->get(SiteLogsDownload::class, '/logs-download');
365451d4d87SGreg Roach                $router->post(Masquerade::class, '/masquerade/{user_id}');
366ddb44b4cSGreg Roach                $router->get(ManageMediaPage::class, '/media');
367ddb44b4cSGreg Roach                $router->post(ManageMediaAction::class, '/media');
368ddb44b4cSGreg Roach                $router->get(ManageMediaData::class, '/media-data');
369ddb44b4cSGreg Roach                $router->get(UploadMediaPage::class, '/media-upload');
370ddb44b4cSGreg Roach                $router->post(UploadMediaAction::class, '/media-upload');
37110a93a5fSGreg Roach                $router->get(AdminMediaFileDownload::class, '/media-file');
37210a93a5fSGreg Roach                $router->get(AdminMediaFileThumbnail::class, '/media-thumbnail');
373451d4d87SGreg Roach                $router->get(CreateTreePage::class, '/trees/create');
374451d4d87SGreg Roach                $router->post(CreateTreeAction::class, '/trees/create');
375451d4d87SGreg Roach                $router->post(SelectDefaultTree::class, '/trees/default/{tree}');
376451d4d87SGreg Roach                $router->post(DeleteTreeAction::class, '/trees/delete/{tree}');
3774b3ef6caSGreg Roach                $router->get(ImportThumbnailsPage::class, '/webtrees1-thumbs');
3784b3ef6caSGreg Roach                $router->post(ImportThumbnailsAction::class, '/webtrees1-thumbs');
3794b3ef6caSGreg Roach                $router->get(ImportThumbnailsData::class, '/webtrees1-thumbs-data');
380451d4d87SGreg Roach                $router->get(UsersCleanupPage::class, '/users-cleanup');
381451d4d87SGreg Roach                $router->post(UsersCleanupAction::class, '/users-cleanup');
38290949315SGreg Roach                $router->get(MapDataAdd::class, '/map-data-add{/parent_id}');
38390949315SGreg Roach                $router->post(MapDataDelete::class, '/map-data-delete/{place_id}');
3847b5ff3baSGreg Roach                $router->post(MapDataDeleteUnused::class, '/map-data-delete-unused');
38590949315SGreg Roach                $router->get(MapDataEdit::class, '/map-data-edit/{place_id}');
38690949315SGreg Roach                $router->get(MapDataExportCSV::class, '/map-data-csv{/parent_id}');
38790949315SGreg Roach                $router->get(MapDataExportGeoJson::class, '/map-data-geojson{/parent_id}');
38890949315SGreg Roach                $router->get(MapDataImportPage::class, '/locations-import');
38990949315SGreg Roach                $router->post(MapDataImportAction::class, '/locations-import');
39090949315SGreg Roach                $router->get(MapDataList::class, '/map-data{/parent_id}');
3912a93faa6SGreg Roach                $router->post(MapDataSave::class, '/map-data-update');
3929f667ff2SGreg Roach                $router->post(ModuleDeleteSettings::class, '/module-delete-settings');
3939f667ff2SGreg Roach                $router->get(ModulesAllPage::class, '/modules');
3949f667ff2SGreg Roach                $router->post(ModulesAllAction::class, '/modules');
3959f667ff2SGreg Roach                $router->get(ModulesAnalyticsPage::class, '/analytics');
3969f667ff2SGreg Roach                $router->post(ModulesAnalyticsAction::class, '/analytics');
3979f667ff2SGreg Roach                $router->get(ModulesBlocksPage::class, '/blocks');
3989f667ff2SGreg Roach                $router->post(ModulesBlocksAction::class, '/blocks');
3999f667ff2SGreg Roach                $router->get(ModulesChartsPage::class, '/charts');
4009f667ff2SGreg Roach                $router->post(ModulesChartsAction::class, '/charts');
4014da96842SGreg Roach                $router->get(ModulesCustomTagsPage::class, '/custom-tags');
4024da96842SGreg Roach                $router->post(ModulesCustomTagsAction::class, '/custom-tags');
4039f667ff2SGreg Roach                $router->get(ModulesDataFixesPage::class, '/data-fixes');
4049f667ff2SGreg Roach                $router->post(ModulesDataFixesAction::class, '/data-fixes');
4059f667ff2SGreg Roach                $router->get(ModulesFootersPage::class, '/footers');
4069f667ff2SGreg Roach                $router->post(ModulesFootersAction::class, '/footers');
4079f667ff2SGreg Roach                $router->get(ModulesHistoricEventsPage::class, '/historic-events');
4089f667ff2SGreg Roach                $router->post(ModulesHistoricEventsAction::class, '/historic-events');
4099f667ff2SGreg Roach                $router->get(ModulesListsPage::class, '/lists');
4109f667ff2SGreg Roach                $router->post(ModulesListsAction::class, '/lists');
411c9c6f2ecSGreg Roach                $router->get(ModulesMapAutocompletePage::class, '/map-autocomplete');
412c9c6f2ecSGreg Roach                $router->post(ModulesMapAutocompleteAction::class, '/map-autocomplete');
413e3544cb2SGreg Roach                $router->get(ModulesMapLinksPage::class, '/map-links');
414e3544cb2SGreg Roach                $router->post(ModulesMapLinksAction::class, '/map-links');
415c9c6f2ecSGreg Roach                $router->get(ModulesMapProvidersPage::class, '/map-providers');
416c9c6f2ecSGreg Roach                $router->post(ModulesMapProvidersAction::class, '/map-providers');
417c9c6f2ecSGreg Roach                $router->get(ModulesMapGeoLocationsPage::class, '/map-searches');
418c9c6f2ecSGreg Roach                $router->post(ModulesMapGeoLocationsAction::class, '/map-searches');
4199f667ff2SGreg Roach                $router->get(ModulesMenusPage::class, '/menus');
4209f667ff2SGreg Roach                $router->post(ModulesMenusAction::class, '/menus');
4219f667ff2SGreg Roach                $router->get(ModulesLanguagesPage::class, '/languages');
4229f667ff2SGreg Roach                $router->post(ModulesLanguagesAction::class, '/languages');
4239f667ff2SGreg Roach                $router->get(ModulesReportsPage::class, '/reports');
4249f667ff2SGreg Roach                $router->post(ModulesReportsAction::class, '/reports');
4258a1a28d7SGreg Roach                $router->get(ModulesSharesPage::class, '/shares');
4268a1a28d7SGreg Roach                $router->post(ModulesSharesAction::class, '/shares');
4279f667ff2SGreg Roach                $router->get(ModulesSidebarsPage::class, '/sidebars');
4289f667ff2SGreg Roach                $router->post(ModulesSidebarsAction::class, '/sidebars');
4299f667ff2SGreg Roach                $router->get(ModulesTabsPage::class, '/tabs');
4309f667ff2SGreg Roach                $router->post(ModulesTabsAction::class, '/tabs');
4319f667ff2SGreg Roach                $router->get(ModulesThemesPage::class, '/themes');
4329f667ff2SGreg Roach                $router->post(ModulesThemesAction::class, '/themes');
4334b3ef6caSGreg Roach                $router->get(UpgradeWizardPage::class, '/upgrade');
4344b3ef6caSGreg Roach                $router->post(UpgradeWizardConfirm::class, '/upgrade-confirm');
4354b3ef6caSGreg Roach                $router->post(UpgradeWizardStep::class, '/upgrade-action');
4364c3563c0SGreg Roach                $router->get(UserListPage::class, '/admin-users');
4374c3563c0SGreg Roach                $router->get(UserListData::class, '/admin-users-data');
4384c3563c0SGreg Roach                $router->get(UserAddPage::class, '/admin-users-create');
4394c3563c0SGreg Roach                $router->post(UserAddAction::class, '/admin-users-create');
4404c3563c0SGreg Roach                $router->get(UserEditPage::class, '/admin-users-edit');
4414c3563c0SGreg Roach                $router->post(UserEditAction::class, '/admin-users-edit');
442451d4d87SGreg Roach                $router->get(SitePreferencesPage::class, '/site-preferences');
443451d4d87SGreg Roach                $router->post(SitePreferencesAction::class, '/site-preferences');
444451d4d87SGreg Roach                $router->get(SiteRegistrationPage::class, '/site-registration');
445451d4d87SGreg Roach                $router->post(SiteRegistrationAction::class, '/site-registration');
446c8183f29SGreg Roach                $router->get(SiteTagsPage::class, '/tags');
447c8183f29SGreg Roach                $router->post(SiteTagsAction::class, '/tags');
448451d4d87SGreg Roach                $router->get(TreePageDefaultEdit::class, '/trees/default-blocks');
449451d4d87SGreg Roach                $router->post(TreePageDefaultUpdate::class, '/trees/default-blocks');
4506fd01894SGreg Roach                $router->get(MergeTreesPage::class, '/trees/merge');
4516fd01894SGreg Roach                $router->post(MergeTreesAction::class, '/trees/merge');
4526fd01894SGreg Roach                $router->post(SynchronizeTrees::class, '/trees/sync');
4536fd01894SGreg Roach                $router->post(DeleteUser::class, '/users/delete/{user_id}');
454451d4d87SGreg Roach                $router->get(UserPageDefaultEdit::class, '/user-page-default-edit');
455451d4d87SGreg Roach                $router->post(UserPageDefaultUpdate::class, '/user-page-default-update');
4562279b4f3SGreg Roach            });
4572279b4f3SGreg Roach
45857796b09SGreg Roach            // Manager routes (multiple trees).
4592279b4f3SGreg Roach            $router->attach('', '/admin', static function (Map $router) {
4602279b4f3SGreg Roach                $router->extras([
461901ade19SGreg Roach                    'middleware' => [
462901ade19SGreg Roach                        AuthManager::class,
463901ade19SGreg Roach                    ],
4642279b4f3SGreg Roach                ]);
4652279b4f3SGreg Roach
4666fd01894SGreg Roach                $router->get(ManageTrees::class, '/trees/manage/{tree}');
4672279b4f3SGreg Roach            });
4682279b4f3SGreg Roach
4692279b4f3SGreg Roach            // Manager routes.
4702279b4f3SGreg Roach            $router->attach('', '/tree/{tree}', static function (Map $router) {
4712279b4f3SGreg Roach                $router->extras([
472901ade19SGreg Roach                    'middleware' => [
473901ade19SGreg Roach                        AuthManager::class,
474901ade19SGreg Roach                    ],
4752279b4f3SGreg Roach                ]);
4762279b4f3SGreg Roach
477451d4d87SGreg Roach                $router->get(PendingChangesLogPage::class, '/changes-log');
478451d4d87SGreg Roach                $router->post(PendingChangesLogAction::class, '/changes-log');
479451d4d87SGreg Roach                $router->get(PendingChangesLogData::class, '/changes-data');
480451d4d87SGreg Roach                $router->post(PendingChangesLogDelete::class, '/changes-delete');
481451d4d87SGreg Roach                $router->get(PendingChangesLogDownload::class, '/changes-download');
4826fd01894SGreg Roach                $router->get(CheckTree::class, '/check');
483451d4d87SGreg Roach                $router->get(DataFixChoose::class, '/data-fix');
484451d4d87SGreg Roach                $router->post(DataFixSelect::class, '/data-fix');
485451d4d87SGreg Roach                $router->get(DataFixPage::class, '/data-fix/{data_fix}');
486451d4d87SGreg Roach                $router->post(DataFixUpdate::class, '/data-fix/{data_fix}/update');
487451d4d87SGreg Roach                $router->post(DataFixUpdateAll::class, '/data-fix/{data_fix}/update-all');
488451d4d87SGreg Roach                $router->get(DataFixData::class, '/data-fix/{data_fix}/data');
489451d4d87SGreg Roach                $router->get(DataFixPreview::class, '/data-fix/{data_fix}/preview');
4906fd01894SGreg Roach                $router->get(FindDuplicateRecords::class, '/duplicates');
491451d4d87SGreg Roach                $router->get(ExportGedcomPage::class, '/export');
492451d4d87SGreg Roach                $router->post(ExportGedcomClient::class, '/export-client');
493451d4d87SGreg Roach                $router->post(ExportGedcomServer::class, '/export-server');
4946fd01894SGreg Roach                $router->get(ImportGedcomPage::class, '/import');
4956fd01894SGreg Roach                $router->post(ImportGedcomAction::class, '/import');
496451d4d87SGreg Roach                $router->get(MergeRecordsPage::class, '/merge-step1');
497451d4d87SGreg Roach                $router->post(MergeRecordsAction::class, '/merge-step1');
498451d4d87SGreg Roach                $router->get(MergeFactsPage::class, '/merge-step2');
499451d4d87SGreg Roach                $router->post(MergeFactsAction::class, '/merge-step2');
5006fd01894SGreg Roach                $router->get(TreePreferencesPage::class, '/preferences');
5016fd01894SGreg Roach                $router->post(TreePreferencesAction::class, '/preferences');
5026fd01894SGreg Roach                $router->get(RenumberTreePage::class, '/renumber');
5036fd01894SGreg Roach                $router->post(RenumberTreeAction::class, '/renumber');
504451d4d87SGreg Roach                $router->get(TreePageEdit::class, '/tree-page-edit');
5056fd01894SGreg Roach                $router->post(GedcomLoad::class, '/load');
506451d4d87SGreg Roach                $router->post(TreePageUpdate::class, '/tree-page-update');
507451d4d87SGreg Roach                $router->get(TreePageBlockEdit::class, '/tree-page-block-edit');
508451d4d87SGreg Roach                $router->post(TreePageBlockUpdate::class, '/tree-page-block-edit');
5096fd01894SGreg Roach                $router->get(TreePrivacyPage::class, '/privacy');
5106fd01894SGreg Roach                $router->post(TreePrivacyAction::class, '/privacy');
511451d4d87SGreg Roach                $router->get(UnconnectedPage::class, '/unconnected');
512451d4d87SGreg Roach                $router->post(UnconnectedAction::class, '/unconnected');
5132279b4f3SGreg Roach            });
5142279b4f3SGreg Roach
5152279b4f3SGreg Roach            // Moderator routes.
5162279b4f3SGreg Roach            $router->attach('', '/tree/{tree}', static function (Map $router) {
5172279b4f3SGreg Roach                $router->extras([
518901ade19SGreg Roach                    'middleware' => [
519901ade19SGreg Roach                        AuthModerator::class,
520901ade19SGreg Roach                    ],
5212279b4f3SGreg Roach                ]);
522451d4d87SGreg Roach                $router->post(PendingChangesAcceptTree::class, '/accept');
523451d4d87SGreg Roach                $router->post(PendingChangesAcceptRecord::class, '/accept/{xref}');
524451d4d87SGreg Roach                $router->post(PendingChangesAcceptChange::class, '/accept/{xref}/{change}');
525451d4d87SGreg Roach                $router->get(PendingChanges::class, '/pending');
526451d4d87SGreg Roach                $router->post(PendingChangesRejectTree::class, '/reject');
527451d4d87SGreg Roach                $router->post(PendingChangesRejectRecord::class, '/reject/{xref}');
528451d4d87SGreg Roach                $router->post(PendingChangesRejectChange::class, '/reject/{xref}/{change}');
5292279b4f3SGreg Roach            });
5302279b4f3SGreg Roach
5312279b4f3SGreg Roach            // Editor routes.
5322279b4f3SGreg Roach            $router->attach('', '/tree/{tree}', static function (Map $router) {
5332279b4f3SGreg Roach                $router->extras([
534901ade19SGreg Roach                    'middleware' => [
535901ade19SGreg Roach                        AuthEditor::class,
536901ade19SGreg Roach                    ],
5372279b4f3SGreg Roach                ]);
5382279b4f3SGreg Roach
539f9b64f46SGreg Roach                $router->get(AutoCompleteCitation::class, '/autocomplete/citation');
540f9b64f46SGreg Roach                $router->get(AutoCompleteFolder::class, '/autocomplete/folder');
541f9b64f46SGreg Roach                $router->get(AutoCompletePlace::class, '/autocomplete/place');
542efd4768bSGreg Roach                $router->get(AddChildToFamilyPage::class, '/add-child-to-family/{xref}/{sex}');
543efd4768bSGreg Roach                $router->post(AddChildToFamilyAction::class, '/add-child-to-family/{xref}');
544451d4d87SGreg Roach                $router->get(AddNewFact::class, '/add-fact/{xref}/{fact}');
545451d4d87SGreg Roach                $router->post(SelectNewFact::class, '/add-fact/{xref}');
546ddb44b4cSGreg Roach                $router->get(AddMediaFileModal::class, '/add-media-file/{xref}');
547ddb44b4cSGreg Roach                $router->post(AddMediaFileAction::class, '/add-media-file/{xref}');
548efd4768bSGreg Roach                $router->get(AddSpouseToFamilyPage::class, '/add-spouse-to-family/{xref}/{sex}');
549efd4768bSGreg Roach                $router->post(AddSpouseToFamilyAction::class, '/add-spouse-to-family/{xref}');
550451d4d87SGreg Roach                $router->get(ChangeFamilyMembersPage::class, '/change-family-members');
551451d4d87SGreg Roach                $router->post(ChangeFamilyMembersAction::class, '/change-family-members');
552c2ed51d1SGreg Roach                $router->get(CreateLocationModal::class, '/create-location');
553c2ed51d1SGreg Roach                $router->post(CreateLocationAction::class, '/create-location');
554451d4d87SGreg Roach                $router->get(CreateMediaObjectModal::class, '/create-media-object');
555451d4d87SGreg Roach                $router->post(CreateMediaObjectAction::class, '/create-media-object');
556ddb44b4cSGreg Roach                $router->post(CreateMediaObjectFromFile::class, '/create-media-from-file');
557451d4d87SGreg Roach                $router->post(CopyFact::class, '/copy/{xref}/{fact_id}');
558451d4d87SGreg Roach                $router->get(CreateNoteModal::class, '/create-note-object');
559451d4d87SGreg Roach                $router->post(CreateNoteAction::class, '/create-note-object');
560451d4d87SGreg Roach                $router->get(CreateRepositoryModal::class, '/create-repository');
561451d4d87SGreg Roach                $router->post(CreateRepositoryAction::class, '/create-repository');
562451d4d87SGreg Roach                $router->get(CreateSourceModal::class, '/create-source');
563451d4d87SGreg Roach                $router->post(CreateSourceAction::class, '/create-source');
564451d4d87SGreg Roach                $router->get(CreateSubmitterModal::class, '/create-submitter');
565451d4d87SGreg Roach                $router->post(CreateSubmitterAction::class, '/create-submitter');
566c2ed51d1SGreg Roach                $router->get(CreateSubmissionModal::class, '/create-submission');
567c2ed51d1SGreg Roach                $router->post(CreateSubmissionAction::class, '/create-submission');
568451d4d87SGreg Roach                $router->post(DeleteRecord::class, '/delete/{xref}');
569451d4d87SGreg Roach                $router->post(DeleteFact::class, '/delete/{xref}/{fact_id}');
570451d4d87SGreg Roach                $router->get(EditFactPage::class, '/edit-fact/{xref}/{fact_id}');
571451d4d87SGreg Roach                $router->post(EditFactAction::class, '/update-fact/{xref}{/fact_id}');
572ddb44b4cSGreg Roach                $router->get(EditMediaFileModal::class, '/edit-media-file/{xref}/{fact_id}');
573ddb44b4cSGreg Roach                $router->post(EditMediaFileAction::class, '/edit-media-file/{xref}/{fact_id}');
574ddb44b4cSGreg Roach                $router->get(EditNotePage::class, '/edit-note-object/{xref}');
575ddb44b4cSGreg Roach                $router->post(EditNoteAction::class, '/edit-note-object/{xref}');
576451d4d87SGreg Roach                $router->get(EditRawFactPage::class, '/edit-raw/{xref}/{fact_id}');
577451d4d87SGreg Roach                $router->post(EditRawFactAction::class, '/edit-raw/{xref}/{fact_id}');
578451d4d87SGreg Roach                $router->get(EditRawRecordPage::class, '/edit-raw/{xref}');
579451d4d87SGreg Roach                $router->post(EditRawRecordAction::class, '/edit-raw/{xref}');
580ddb44b4cSGreg Roach                $router->get(LinkMediaToFamilyModal::class, '/link-media-to-family/{xref}');
581ddb44b4cSGreg Roach                $router->get(LinkMediaToIndividualModal::class, '/link-media-to-individual/{xref}');
582ddb44b4cSGreg Roach                $router->get(LinkMediaToSourceModal::class, '/link-media-to-source/{xref}');
583ddb44b4cSGreg Roach                $router->post(LinkMediaToRecordAction::class, '/link-media-to-record/{xref}');
584c2ed51d1SGreg Roach                $router->get(EditRecordPage::class, '/edit-record/{xref}');
585c2ed51d1SGreg Roach                $router->post(EditRecordAction::class, '/update-record/{xref}');
586451d4d87SGreg Roach                $router->post(PasteFact::class, '/paste-fact/{xref}');
587451d4d87SGreg Roach                $router->get(ReorderChildrenPage::class, '/reorder-children/{xref}');
588451d4d87SGreg Roach                $router->post(ReorderChildrenAction::class, '/reorder-children/{xref}');
589451d4d87SGreg Roach                $router->get(ReorderMediaPage::class, '/reorder-media/{xref}');
590451d4d87SGreg Roach                $router->post(ReorderMediaAction::class, '/reorder-media/{xref}');
591451d4d87SGreg Roach                $router->get(ReorderNamesPage::class, '/reorder-names/{xref}');
592451d4d87SGreg Roach                $router->post(ReorderNamesAction::class, '/reorder-names/{xref}');
593451d4d87SGreg Roach                $router->get(ReorderFamiliesPage::class, '/reorder-spouses/{xref}');
594451d4d87SGreg Roach                $router->post(ReorderFamiliesAction::class, '/reorder-spouses/{xref}');
595451d4d87SGreg Roach                $router->get(SearchReplacePage::class, '/search-replace');
596451d4d87SGreg Roach                $router->post(SearchReplaceAction::class, '/search-replace');
597efd4768bSGreg Roach                $router->get(AddChildToIndividualPage::class, '/add-child-to-individual/{xref}');
598efd4768bSGreg Roach                $router->post(AddChildToIndividualAction::class, '/add-child-to-individual/{xref}');
599efd4768bSGreg Roach                $router->get(AddParentToIndividualPage::class, '/add-parent-to-individual/{xref}/{sex}');
600efd4768bSGreg Roach                $router->post(AddParentToIndividualAction::class, '/add-parent-to-individual/{xref}');
601efd4768bSGreg Roach                $router->get(AddSpouseToIndividualPage::class, '/add-spouse-to-individual/{xref}');
602efd4768bSGreg Roach                $router->post(AddSpouseToIndividualAction::class, '/add-spouse-to-individual/{xref}');
603451d4d87SGreg Roach                $router->get(AddUnlinkedPage::class, '/add-unlinked-individual');
604451d4d87SGreg Roach                $router->post(AddUnlinkedAction::class, '/add-unlinked-individual');
605efd4768bSGreg Roach                $router->get(LinkChildToFamilyPage::class, '/link-child-to-family/{xref}');
606efd4768bSGreg Roach                $router->post(LinkChildToFamilyAction::class, '/link-child-to-family/{xref}');
607efd4768bSGreg Roach                $router->get(LinkSpouseToIndividualPage::class, '/link-spouse-to-individual/{xref}');
608efd4768bSGreg Roach                $router->post(LinkSpouseToIndividualAction::class, '/link-spouse-to-individual/{xref}');
6092279b4f3SGreg Roach            });
6102279b4f3SGreg Roach
6118673e6b9SGreg Roach            // User routes with a tree.
6122279b4f3SGreg Roach            $router->attach('', '/tree/{tree}', static function (Map $router) {
6132279b4f3SGreg Roach                $router->extras([
614901ade19SGreg Roach                    'middleware' => [
6158673e6b9SGreg Roach                        AuthLoggedIn::class,
616901ade19SGreg Roach                    ],
6172279b4f3SGreg Roach                ]);
6182279b4f3SGreg Roach
619451d4d87SGreg Roach                $router->post(MessageSelect::class, '/message-select');
620451d4d87SGreg Roach                $router->get(MessagePage::class, '/message-compose');
621451d4d87SGreg Roach                $router->post(MessageAction::class, '/message-send');
622451d4d87SGreg Roach                $router->get(UserPage::class, '/my-page');
623451d4d87SGreg Roach                $router->get(UserPageBlock::class, '/my-page-block');
624451d4d87SGreg Roach                $router->get(UserPageEdit::class, '/my-page-edit');
625451d4d87SGreg Roach                $router->post(UserPageUpdate::class, '/my-page-edit');
626451d4d87SGreg Roach                $router->get(UserPageBlockEdit::class, '/my-page-block-edit');
627451d4d87SGreg Roach                $router->post(UserPageBlockUpdate::class, '/my-page-block-edit');
6282279b4f3SGreg Roach            });
6292279b4f3SGreg Roach
6308673e6b9SGreg Roach            // User routes without a tree.
6312279b4f3SGreg Roach            $router->attach('', '', static function (Map $router) {
6322279b4f3SGreg Roach                $router->extras([
633901ade19SGreg Roach                    'middleware' => [
634901ade19SGreg Roach                        AuthLoggedIn::class,
635901ade19SGreg Roach                    ],
6362279b4f3SGreg Roach                ]);
6372279b4f3SGreg Roach
638451d4d87SGreg Roach                $router->get(AccountEdit::class, '/my-account{/tree}');
639451d4d87SGreg Roach                $router->post(AccountUpdate::class, '/my-account{/tree}');
640451d4d87SGreg Roach                $router->post(AccountDelete::class, '/my-account-delete');
6419927f70fSGreg Roach                $router->post(EmptyClipboard::class, '/empty-clipboard');
6422279b4f3SGreg Roach            });
6432279b4f3SGreg Roach
644f917a287SGreg Roach            // Visitor routes - with an optional tree (for sites with no public trees).
6452279b4f3SGreg Roach            $router->attach('', '', static function (Map $router) {
646451d4d87SGreg Roach                $router->get(LoginPage::class, '/login{/tree}');
647451d4d87SGreg Roach                $router->post(LoginAction::class, '/login{/tree}');
648451d4d87SGreg Roach                $router->get(PasswordRequestPage::class, '/password-request{/tree}');
649451d4d87SGreg Roach                $router->post(PasswordRequestAction::class, '/password-request{/tree}');
650451d4d87SGreg Roach                $router->get(RegisterPage::class, '/register{/tree}');
651451d4d87SGreg Roach                $router->post(RegisterAction::class, '/register{/tree}');
652451d4d87SGreg Roach                $router->get(PasswordResetPage::class, '/password-reset/{token}{/tree}');
653451d4d87SGreg Roach                $router->post(PasswordResetAction::class, '/password-reset/{token}{/tree}');
654451d4d87SGreg Roach                $router->get(VerifyEmail::class, '/verify/{username}/{token}{/tree}');
6552279b4f3SGreg Roach            });
6562279b4f3SGreg Roach
657b45ccc4fSGreg Roach            // Visitor routes with a tree.
6582279b4f3SGreg Roach            $router->attach('', '/tree/{tree}', static function (Map $router) {
659451d4d87SGreg Roach                $router->get(TreePage::class, '');
6604ef14d36SGreg Roach                $router->get(AutoCompleteSurname::class, '/autocomplete/surname');
661451d4d87SGreg Roach                $router->get(CalendarPage::class, '/calendar/{view}');
662451d4d87SGreg Roach                $router->post(CalendarAction::class, '/calendar/{view}');
663451d4d87SGreg Roach                $router->get(CalendarEvents::class, '/calendar-events/{view}');
664451d4d87SGreg Roach                $router->get(ContactPage::class, '/contact');
665451d4d87SGreg Roach                $router->post(ContactAction::class, '/contact');
666451d4d87SGreg Roach                $router->get(FamilyPage::class, '/family/{xref}{/slug}');
667451d4d87SGreg Roach                $router->get(HeaderPage::class, '/header/{xref}{/slug}');
668451d4d87SGreg Roach                $router->get(IndividualPage::class, '/individual/{xref}{/slug}');
669e8ded2caSGreg Roach                $router->get(LocationPage::class, '/location/{xref}{/slug}');
670451d4d87SGreg Roach                $router->get(MediaFileThumbnail::class, '/media-thumbnail');
671451d4d87SGreg Roach                $router->get(MediaFileDownload::class, '/media-download');
672451d4d87SGreg Roach                $router->get(MediaPage::class, '/media/{xref}{/slug}');
673451d4d87SGreg Roach                $router->get(NotePage::class, '/note/{xref}{/slug}');
674451d4d87SGreg Roach                $router->get(GedcomRecordPage::class, '/record/{xref}{/slug}');
675451d4d87SGreg Roach                $router->get(RepositoryPage::class, '/repository/{xref}{/slug}');
676451d4d87SGreg Roach                $router->get(ReportListPage::class, '/report');
677451d4d87SGreg Roach                $router->post(ReportListAction::class, '/report');
678451d4d87SGreg Roach                $router->get(ReportSetupPage::class, '/report/{report}');
679451d4d87SGreg Roach                $router->post(ReportSetupAction::class, '/report/{report}');
680451d4d87SGreg Roach                $router->get(ReportGenerate::class, '/report-run/{report}');
681451d4d87SGreg Roach                $router->get(SearchAdvancedPage::class, '/search-advanced');
682451d4d87SGreg Roach                $router->post(SearchAdvancedAction::class, '/search-advanced');
683451d4d87SGreg Roach                $router->get(SearchGeneralPage::class, '/search-general');
684451d4d87SGreg Roach                $router->post(SearchGeneralAction::class, '/search-general');
685451d4d87SGreg Roach                $router->get(SearchPhoneticPage::class, '/search-phonetic');
686451d4d87SGreg Roach                $router->post(SearchPhoneticAction::class, '/search-phonetic');
687451d4d87SGreg Roach                $router->post(SearchQuickAction::class, '/search-quick');
688451d4d87SGreg Roach                $router->get(SourcePage::class, '/source/{xref}{/slug}');
689451d4d87SGreg Roach                $router->get(SubmissionPage::class, '/submission/{xref}{/slug}');
690451d4d87SGreg Roach                $router->get(SubmitterPage::class, '/submitter/{xref}{/slug}');
691*c8d78f19SGreg Roach                $router->get(TomSelectFamily::class, '/tom-select-family');
692*c8d78f19SGreg Roach                $router->get(TomSelectIndividual::class, '/tom-select-individual');
693*c8d78f19SGreg Roach                $router->get(TomSelectLocation::class, '/tom-select-location');
694*c8d78f19SGreg Roach                $router->get(TomSelectMediaObject::class, '/tom-select-media');
695*c8d78f19SGreg Roach                $router->get(TomSelectNote::class, '/tom-select-note');
696*c8d78f19SGreg Roach                $router->get(TomSelectPlace::class, '/tom-select-place');
697*c8d78f19SGreg Roach                $router->get(TomSelectSource::class, '/tom-select-source');
698*c8d78f19SGreg Roach                $router->get(TomSelectSubmission::class, '/tom-select-submission');
699*c8d78f19SGreg Roach                $router->get(TomSelectSubmitter::class, '/tom-select-submitter');
700*c8d78f19SGreg Roach                $router->get(TomSelectRepository::class, '/tom-select-repository');
701451d4d87SGreg Roach                $router->get(TreePageBlock::class, '/tree-page-block');
702451d4d87SGreg Roach                $router->get('example', '/…')
703451d4d87SGreg Roach                    ->isRoutable(false);
7042279b4f3SGreg Roach            });
7052279b4f3SGreg Roach
706b59ec43dSGreg Roach            // Match module routes, with and without a tree.
707b59ec43dSGreg Roach            $router->get('module-tree', '/module/{module}/{action}/{tree}', ModuleAction::class)
7082279b4f3SGreg Roach                ->allows(RequestMethodInterface::METHOD_POST);
709b59ec43dSGreg Roach            $router->get('module-no-tree', '/module/{module}/{action}', ModuleAction::class)
710b59ec43dSGreg Roach                ->allows(RequestMethodInterface::METHOD_POST);
711b59ec43dSGreg Roach            // Generate module routes only. The router cannot distinguish a private tree from no tree.
712451d4d87SGreg Roach            $router->get('module', '/module/{module}/{action}{/tree}')
713451d4d87SGreg Roach                ->isRoutable(false);
7142279b4f3SGreg Roach
715451d4d87SGreg Roach            $router->get(HelpText::class, '/help/{topic}');
716451d4d87SGreg Roach            $router->post(SelectLanguage::class, '/language/{language}');
717451d4d87SGreg Roach            $router->post(Logout::class, '/logout');
71864c83a78SGreg Roach            $router->get(Ping::class, '/ping', Ping::class)
71964c83a78SGreg Roach                ->allows(RequestMethodInterface::METHOD_HEAD);
720451d4d87SGreg Roach            $router->post(SelectTheme::class, '/theme/{theme}');
721451d4d87SGreg Roach            $router->get(HomePage::class, '/');
7222279b4f3SGreg Roach
72347d13d9eSGreg Roach            // Special files, either dynamic or need to be in the root folder.
724451d4d87SGreg Roach            $router->get(AppleTouchIconPng::class, '/apple-touch-icon.png');
725d36fce8cSGreg Roach            $router->get(BrowserconfigXml::class, '/browserconfig.xml');
726451d4d87SGreg Roach            $router->get(FaviconIco::class, '/favicon.ico');
72747d13d9eSGreg Roach            $router->get(RobotsTxt::class, '/robots.txt');
728439bf5cfSGreg Roach            $router->get(WebmanifestJson::class, '/webmanifest.json');
729901ade19SGreg Roach        });
7302279b4f3SGreg Roach    }
7312279b4f3SGreg Roach}
732