I'm looking at overriding the delete action in my module to provide an 'Are you sure?' page.
Following the blog module I have created my Controller action and created the appropriate RouteValueDictionary for the Metadata.RemoveRouteValues by overrideing the GetItemMetadata in my parts handler. However the url for the delete
link in the admin interface remains pointing at the default Contents area.
I have looked at the code that generates the link in Content.SummaryAdmin.cshtml and it doesn't seem to use the action stored in the Metadata, its hardcoded. To confirm this I have debugged the Blog module and the Remove action on the BlogAdminController
is never called when deleting a blog.
Just wanted to see what people think before I raise a bug.