From 9f052f5173d113bfab1aae1a586870eccc6273fe Mon Sep 17 00:00:00 2001 From: Maciej Pienczyn Date: Wed, 8 Apr 2026 14:21:08 +0200 Subject: [PATCH] =?UTF-8?q?fix(onboarding):=20fix=20404=20on=20'Uzupe?= =?UTF-8?q?=C5=82nij'=20links=20in=20dashboard=20progress=20widget?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Onboarding steps had hardcoded /company/{id}/edit URLs that don't exist. Changed to /firma/edytuj/{id} which is the actual company edit route. Co-Authored-By: Claude Opus 4.6 (1M context) --- utils/onboarding.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/onboarding.py b/utils/onboarding.py index 9211b18..192c2f4 100644 --- a/utils/onboarding.py +++ b/utils/onboarding.py @@ -60,7 +60,7 @@ def compute_onboarding_steps(user, user_companies, app_root): ), 'responsible': 'member', 'responsible_label': 'Ty', - 'action_url': f'/company/{company.id}/edit' if company else None, + 'action_url': f'/firma/edytuj/{company.id}' if company else None, }, { 'key': 'logo', @@ -74,7 +74,7 @@ def compute_onboarding_steps(user, user_companies, app_root): ), 'responsible': 'both', 'responsible_label': 'Ty / Sekretariat', - 'action_url': f'/company/{company.id}/edit' if company else None, + 'action_url': f'/firma/edytuj/{company.id}' if company else None, }, ]