Not sure about the best API for this, consider these:
routes.js:
view.jade:
resource_uri('users', 'create');
resource_url('users', 'show', 'uuid')
or maybe, since app is already injected into the view:
app.controllers.users.create.url()
app.controllers.users.show.url('uuid')
app.controllers.users.url() // generic "/users" so you can concat custom routes to the end
Not sure about the best API for this, consider these:
routes.js:
view.jade:
or maybe, since
appis already injected into the view: