I have a nested edit route for one of my resources:
@resource 'organization', path: 'organizations/:organization_id', ->
@resource 'organization.edit', path: '/edit'
I link to it like this (using Emblem.js):
linkTo 'organization.edit' organization | Edit
Unfortunately, this results in a url like:
/organizations/4#
Rather than the expected:
/organizations/4/edit
Any idea why this is happening? I experimented with the route syntax a lot. Removing path
for organization.edit
does nothing, as does a full path: 'organization/:organization_id/edit
.