From f97e9f5a89fa82db661397a75e73662fc6ceeafc Mon Sep 17 00:00:00 2001 From: Vesa Luusua Date: Mon, 13 Mar 2017 16:46:12 +0200 Subject: [PATCH] Require authentication before creating or editing listing --- src/routesConfiguration.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/routesConfiguration.js b/src/routesConfiguration.js index c01db109..f9b80984 100644 --- a/src/routesConfiguration.js +++ b/src/routesConfiguration.js @@ -64,12 +64,14 @@ const routesConfiguration = [ component: props => , }, { + auth: true, path: '/l/new', exact: true, name: 'NewListingPage', component: props => , }, { + auth: true, path: '/l/:slug/:id/edit', exact: true, name: 'EditListingPage',