aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/views.py b/views.py
index add5dd7..473b319 100644
--- a/views.py
+++ b/views.py
@@ -80,7 +80,7 @@ def confirm_subscription(request, token):
year, week = get_current_or_next_week()
- return redirect("timetable", group_slug=subscription.group.slug, year=year, week=week)
+ return redirect("timetable", timetable_slug=subscription.group.timetable.slug, group_slug=subscription.group.slug, year=year, week=week)
def cancel_subscription(request, token):
subscription = get_object_or_404(Subscription, token=token)