Turbolinks 5 doesn't follow the browser's standard behaviour of ignoring links pointing to "#", so we're preventing the turbolinks events in this situation: