leftclickben/durandal-demo-record-not-found
Demo showing how to handle a situation using Durandal framework where a module's `activate()` method loads a record from the database, and you want to display a "not found" page while retaining the original URL.