visionmedia / express-resource

Resourceful routing for Express
1.41k stars 140 forks source link

some routes not working? #41

Open mscdex opened 12 years ago

mscdex commented 12 years ago

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

agustinf commented 12 years ago

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".

mscdex commented 12 years ago

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

elliotf commented 11 years ago

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