1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

switching view and change routing

This commit is contained in:
Sosuke Suzuki
2017-09-30 15:26:37 +09:00
parent 8311030bec
commit 5248c05e61
2 changed files with 49 additions and 27 deletions

View File

@@ -65,7 +65,11 @@ ReactDOM.render((
<Route path='starred' />
<Route path='searched' />
<Route path='trashed' />
<Route path='tag' />
<Route path='alltags' />
<Route path='tags'>
<IndexRedirect to='/alltags' />
<Route path=':tagname' />
</Route>
<Route path='storages'>
<IndexRedirect to='/home' />
<Route path=':storageKey'>