Skip to content

Commit

Permalink
temporarily move PrivateSet routes to public
Browse files Browse the repository at this point in the history
  • Loading branch information
dysmento committed Jan 8, 2024
1 parent 8a22774 commit e1fa40d
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions web/src/Routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,29 @@ const Routes = () => {
<Route path="/organizations/{id:Int}" page={OrganizationOrganizationPage} name="organization" />
<Route path="/organizations" page={OrganizationOrganizationsPage} name="organizations" />
</PrivateSet>
{/* Uploads */}
<Route path="/" page={UploadUploadsPage} name="uploads" />
<Route path="/uploads/new" page={UploadNewUploadPage} name="newUpload" />
<Route path="/uploads/{id:Int}/edit" page={UploadEditUploadPage} name="editUpload" />
<Route path="/uploads/{id:Int}" page={UploadUploadPage} name="upload" />
<Route path="/upload-template/{id:Int}" page={UploadTemplatePage} name="uploadTemplate" />
{/* Agencies */}
<Route path="/agencies/{id:Int}/edit" page={AgencyEditAgencyPage} name="editAgency" />
<Route path="/agencies/{id:Int}" page={AgencyAgencyPage} name="agency" />
<Route path="/agencies/new" page={AgencyNewAgencyPage} name="newAgency" />
<Route path="/agencies" page={AgencyAgenciesPage} name="agencies" />
{/* Users */}
<Route path="/users/new" page={UserNewUserPage} name="newUser" />
<Route path="/users/{id:Int}/edit" page={UserEditUserPage} name="editUser" />
<Route path="/users/{id:Int}" page={UserUserPage} name="user" />
<Route path="/users" page={UserUsersPage} name="users" />
{/* Reporting Periods */}
<Route path="/reporting-periods" page={ReportingPeriodsPage} name="reportingPeriods" />
{/* Organizations */}
<Route path="/organizations/new" page={OrganizationNewOrganizationPage} name="newOrganization" />
<Route path="/organizations/{id:Int}/edit" page={OrganizationEditOrganizationPage} name="editOrganization" />
<Route path="/organizations/{id:Int}" page={OrganizationOrganizationPage} name="organization" />
<Route path="/organizations" page={OrganizationOrganizationsPage} name="organizations" />
<Route path="/login" page={LoginPage} name="login" />
<Route notfound page={NotFoundPage} />
</Router>
Expand Down

0 comments on commit e1fa40d

Please sign in to comment.