Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

req.params not working fine with irregular verbs #58

Open
mciparelli opened this Issue · 1 comment

2 participants

Martín Ciparelli James Cox
Martín Ciparelli

If I have a 'countries' resource, then req.params.country is undefined. Instead this is what req.params has ('countrie'):
params: [ countrie: '1', format: undefined ] },

James Cox

We're having the same problem, lingo incorrectly guesses the singular of our 'narratives' resource is 'narratife'. Seems like the best way to fix it is to add an exception to the lingo library (which is what express-resource uses) here: https://github.com/visionmedia/lingo/blob/master/lib/languages/en.js
and make a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.