Here is the example code
https://github.com/derickbailey/todomvc/tree/marionette/labs/architecture-examples/backbone_marionette
This example code is run here
http://todomvc.com/labs/architecture-examples/backbone_marionette/#
I cannot figure out how the route changes when the filter is clicked. I’ve been going over this so many times, but I cannot seem to understand how the route itself changes when the filter is clicked. All I see are the functions that are called when the route changes, but not the actual route change itself.
For example, when the current filter is on “All”, and I click “Completed”, how does the URL change to #completed?
Any insight would be great
Thanks
It’s simply an anchor tag that has it’s href as
##activeand#completed.