Configurable pushState for routes