Redirects: properly redirect to the current week

Previously, most redirects targeted the root of the application.
This was okay for the first part of development where only one week would be
active, but would be annoying when using multiple weeks.

Change those redirects to call week::week.

Change the login path to be dependant on the current week as well,
so it can be correctly redirected.
This commit is contained in:
trotFunky 2024-07-26 01:08:30 +01:00
parent e08a46af3a
commit a0b79a17ea
6 changed files with 22 additions and 22 deletions

View file

@ -9,7 +9,7 @@ A list of things that could be implemented/added to the application, some of the
- [x] Being able to change from one week to the next
- [x] Create new weeks for the admin
- [ ] Proper week redirection
- [x] Proper week redirection
- [ ] Correctly handle non-existing week number
- [x] Add introduction to the weekly truths
- [ ] Bundle static assets in the binary