express-resource icon indicating copy to clipboard operation
express-resource copied to clipboard

some routes not working?

Open mscdex opened this issue 13 years ago • 3 comments

environment: node v0.6.6 on windows with express 2.5.2/connect 1.8.3 and express-resource 0.2.3

Routes in the form of "/users/1/edit" do not work for me (e.g. I get "Cannot GET /users/1/edit" in the browser), whether or not they are a default route (such as "edit") or a custom mapped route (such as "send" in "/users/1/send"). However the other routes seem to work fine, those in the style of "/users" or "/users/1."

Here's a gist containing the setup that fails for me: https://gist.github.com/5490fb68a61f9b80b0fa

mscdex avatar Dec 25 '11 02:12 mscdex

We have been experiencing the same problem, but only under windows. We tested our code on Ubuntu 11.10 and it is fine, but on windows we get "Cannot GET /users/1/edit".

agustinf avatar Dec 28 '11 16:12 agustinf

I found the problem... I'll submit a pull request shortly.

mscdex avatar Dec 28 '11 21:12 mscdex

This issue should probably be closed if it was fixed by the pull request.

elliotf avatar Feb 13 '13 20:02 elliotf