I have routes like this:
category/keyword/id
A user can navigate like this:
category/science/42
category/science/13
category/science/39
category/publishing/38
category/publishing/91
category/publishing/3
Moving back and forward in history works exactly like it should, but I would like to implement a back-button that takes the user back to the previous category. So that if the user is at the last route above (/publishing/3) and clicks that button, I want to send the user back to /science/39.
Is there a way to use Backbone.history to go back to a specific point based on the URL at that time?