diff --git a/app/views/contestants/index.html.slim b/app/views/contestants/index.html.slim index 068f916..bfb5dab 100644 --- a/app/views/contestants/index.html.slim +++ b/app/views/contestants/index.html.slim @@ -28,7 +28,7 @@ if (option.value == selectedCategory) option.selected = true; }); categorySelectEl.addEventListener('change', (e) => { - window.location.replace(`#{contest_path(@contest)}?category=${e.target.value}`); + window.location.replace(`#{contest_contestants_path(@contest)}?category=${e.target.value}`); }) .d-flex.flex-column style="overflow-y: auto" table.table.table-striped.table-hover