From b87800f6bde282b9edaca7422532d142c1bf8db3 Mon Sep 17 00:00:00 2001 From: sto Date: Tue, 18 Nov 2025 12:02:14 +0100 Subject: [PATCH] Correct category selector URL --- app/views/contestants/index.html.slim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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