From 57e4cf2b68195e88cc780a6b03ecc39e17ee68b9 Mon Sep 17 00:00:00 2001 From: Kimmo Puputti Date: Fri, 6 Oct 2017 15:11:11 +0300 Subject: [PATCH] Document route order --- src/routesConfiguration.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/routesConfiguration.js b/src/routesConfiguration.js index 97f01dec..3f8a45b5 100644 --- a/src/routesConfiguration.js +++ b/src/routesConfiguration.js @@ -112,6 +112,9 @@ const routesConfiguration = [ component: props => , loadData: (params, search) => EditListingPage.loadData(params, search), }, + + // Canonical path should be after the `/l/new` path since they + // conflict and `new` is not a valid listing UUID. { path: '/l/:id', exact: true,