In my Router code, I have the following routes:
Router = can.Control ( {
"adminPrograms route" : function ( ) {
// Load Programs screen...
}
, "adminProgramSkus route" : function ( ) {
// Load Program Skus screen...
}
});
I First navigate to the "adminProgramSkus" route. Then I try to navigate to the "adminPrograms" route. The URL gets updated to the properly location but the code to Load the Programs screen does not execute.
I even tried the navigation in reverse, "adminPrograms" to "adminProgramSkus" but the results was the same, the code for the 2nd route was never executed.
Looking for suggestions on how to remedy an Issue dealing with routes that are named similarly.
Thanks