diff --git a/assets/controllers/turbo/global_reload_controller.js b/assets/controllers/turbo/global_reload_controller.js index 02c2b965..3f03726b 100644 --- a/assets/controllers/turbo/global_reload_controller.js +++ b/assets/controllers/turbo/global_reload_controller.js @@ -3,6 +3,6 @@ import { Controller } from '@hotwired/stimulus'; export default class extends Controller { connect() { //If we encounter an element with global reload controller, then reload the whole page - window.location.href = window.location.href; + window.location.reload(); } } \ No newline at end of file