This is probably a very simple answer, but i'm new to RavenDb, so i'm obviously missing something.
I've got a basic object with the default convention for id:
public string Id { get; set; }
When i save it to the document store, i see it gets a value of like:
posts/123
Which is fine, but...how do i generate a URL like this:
www.mysite.com/edit/123
If i do this:
@Html.ActionLink("Edit", "Posts", new { id = @Model.Id })
It will generate the followiung URL:
www.mysite.com/edit/posts/123
Which is not what i want.
Surely i don't have to do string manipulation? How do people approach this?