Require authentication before creating or editing listing

This commit is contained in:
Vesa Luusua 2017-03-13 16:46:12 +02:00
parent a9e5f98476
commit f97e9f5a89

View file

@ -64,12 +64,14 @@ const routesConfiguration = [
component: props => <ListingPage {...props} />,
},
{
auth: true,
path: '/l/new',
exact: true,
name: 'NewListingPage',
component: props => <EditListingPage {...props} type={'new'} />,
},
{
auth: true,
path: '/l/:slug/:id/edit',
exact: true,
name: 'EditListingPage',