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

@:path with just a parameter doesn't seem to work #71

Open
ghost opened this issue Jan 26, 2016 · 2 comments
Open

@:path with just a parameter doesn't seem to work #71

ghost opened this issue Jan 26, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 26, 2016

Kris seems to have an issue with a route that's setup like this:

@:path("/product")
class MyRoute {
  @:post("/:myarg")
  function myFunc(myarg : String) { ... }
}

If he does POST /product/something it gets a 404, but if he changes the function meta to @:post("/x/:myarg") and does POST /product/x/something it works.

@ghost
Copy link
Author

ghost commented Jan 26, 2016

FYI @nuttycom / @pellunutty / @fponticelli / @mlms13

@ghost
Copy link
Author

ghost commented Jan 26, 2016

This is not a critical issue, as it's easily worked-around, but would be nice to fix.

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

No branches or pull requests

0 participants