So I am trying to get a URL that looks like this:
Instead, I am getting URLs that look like:
In my template, I tried this:
[% c.uri_for( 'edit', [ item_type.type_id ]) %]
which gave me the latter URL. If I do this:
[% c.uri_for(c.controller('Admin::ItemType').action_for('edit'), [item_type.type_id] ) %]
I get what I want, but it seems too clunky to be doing in my view. Is there a simpler way to write that and have it still work? It seems like too common a thing to not have there be a simpler way, but I am just not finding it.