bakaphp / router

A tool to create multiple Phalcon Collections with easy.
https://bakaphp.github.io/router
MIT License
4 stars 1 forks source link

when working with group routes, the lib was adding /id to all of them… #18

Closed kaioken closed 5 years ago

kaioken commented 5 years ago

…, even the GET and POST , also it was adding that same ID to the unique routes, so we add to update the lib to let it know when its a group route so that the obj knows when its group and internally we cant ignore it on the parse getCollection metho

todo[bot] commented 5 years ago

Find a name to use a constant

https://github.com/bakaphp/router/blob/d9c4b86b86837644ebb86cf22870d79687c85ea4/src/Parsers/RouteParser.php#L100-L103


This comment was generated by todo based on a TODO comment in d9c4b86b86837644ebb86cf22870d79687c85ea4 in #18. cc @bakaphp.