You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Definitely prefer the resource_uri('users', 'create'); version in the views. Although it could be implemented with the .url() convention, which I also like.
Not sure about the best API for this, consider these:
routes.js:
view.jade:
or maybe, since
app
is already injected into the view:The text was updated successfully, but these errors were encountered: