Allow segment to work with turbolinks