'Change the current user\'s current history to one with `hist_id`.'

@web.expose
@web.require_login('switch    to    a    history')
def switch_to_history(self, trans, hist_id=None):

    self.set_as_current(trans, id=hist_id)
    return trans.response.send_redirect(url_for('/'))
