mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
Require authentication before creating or editing listing
This commit is contained in:
parent
a9e5f98476
commit
f97e9f5a89
1 changed files with 2 additions and 0 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue