Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1 point] Splitted static & parametrized routers #30

Closed
toby3d opened this issue Apr 4, 2018 · 3 comments
Closed

[1 point] Splitted static & parametrized routers #30

toby3d opened this issue Apr 4, 2018 · 3 comments

Comments

@toby3d
Copy link
Member

toby3d commented Apr 4, 2018

Gramework can't set route with path argument on root:

...
   • registering GET /        
   • registering GET /editor  
   • registering POST /publish
   • registering GET /:id     
panic: wildcard route ':id' conflicts with existing children in path '/:id'

So, I can't use dynamic paths like /:slug or /:id-:slug in my project for serve blog-posts (eg. /1234-hello-world, /my-custom-page).

@kirillDanshin
Copy link
Member

relates to #14

@kirillDanshin kirillDanshin changed the title Route arguments on root make conflicts [1 point] Splitted static & parametrized routers Jun 16, 2018
@yakud
Copy link
Contributor

yakud commented Nov 7, 2018

@kirillDanshin it's same with #57 ?

@kirillDanshin
Copy link
Member

yeah, finally closed via #57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants