More flexible path names
kuy opened this issue · comments
Yuki Kodama commented
Allow path names without leading slashes.
const route = {
'about': About,
'admin': {
'.': AdminIndex,
'post': {
'.': AdminPostIndex,
':id': AdminPostShow,
':id/edit': AdminPostEdit,
}
}
}