trailsjs / trailpack-footprints

:package: Footprints Trailpack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a way to pluralize rest endpoints

ofek-a opened this issue · comments

I'm not really sure how this should be handled, and if it's already possible, but if I have a User model, I'd like to easily set the /api/user endpoint to /api/users.

Is there a way to achieve that already? If not, will you accept a pull request for adding a pluralize option that will accept a certain suffix?