Change the call App.Router.navigate(...)
to Backbone.history.navigate(...)
.
Alternatively, you could set a variable to the new App.Router()
instance you create, and then call the navigate
function on that instance. Your code is trying to call the navigate
on the class definition; you need an instance of the class instead.