'Mount' point for .resource()? #71

floatingLomas opened this Issue Jan 24, 2013 · 2 comments


None yet

2 participants


Is there a way - other than mounting it as a 'sub-app' - to provide a root mount point for express-resource? I want all the resources to live at /api/{resources}, but I can't seem to find a way that feels 'right' to accomplish this.

tj commented Jan 27, 2013

I dont think we have any prefixing right now, but that's effectively all a sub-app is

Cool. The sub-app approach worked perfectly for what I was trying to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment