2👍
✅
This is a syntax error:
sale:{
{
url: 'store/sale',
group: 'index'
},
{
url: 'store/confirm',
group: 'confirm'
},
}
Same with purchase:{{})
I suspect you want those to be arrays (made with [ ]
) not objects (with { }
). Maybe this is what you are trying to do:
sale:[
{
url: 'store/sale',
group: 'index'
},
{
url: 'store/confirm',
group: 'confirm'
},
],
purchases[{
// etc.
}
]
👤Mark
Source:stackexchange.com