KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have url routes in my app Router.js : 'items': 'items', 'items/drafts': 'itemsDrafts', 'items/drafts/new': 'itemsDraftsNew', ... But in browser when I define items/drafts/new/ it gives me 404 error :( Is there a way to make this urls the same without copy-pasting all routes and adding trailing to them like: 'items': 'items', 'items/drafts': 'itemsDrafts', 'items/drafts/new': 'itemsDraftsNew', 'items/': 'items', 'items/drafts/': 'itemsDrafts', 'items/drafts/new/': 'itemsDraftsNew', ... ? Thanks!
Tags (comma-separated)
Save Edits
Cancel