updates on the milers page and name change

This commit is contained in:
2026-08-28 13:00:05 +05:30
parent fbf1b31cf7
commit a4cc06d516
6 changed files with 44 additions and 31 deletions

View File

@@ -101,9 +101,14 @@ const AuthenticatedApp = () => {
<Route path="pricing" element={<Pricing />} />
<Route path="riders" element={<Riders />} />
<Route path="riders/create" element={<CreateRider />} />
<Route path="riders/edit" element={<EditRider />} />
<Route path="milers" element={<Riders />} />
<Route path="milers/create" element={<CreateRider />} />
<Route path="milers/edit" element={<EditRider />} />
{/* Backwards-compatible aliases */}
<Route path="riders" element={<Navigate to="/doormile/milers" replace />} />
<Route path="riders/create" element={<Navigate to="/doormile/milers/create" replace />} />
<Route path="riders/edit" element={<Navigate to="/doormile/milers/edit" replace />} />
<Route path="customers" element={<Customers />} />
<Route path="hubs" element={<Hubs />} />