aboutsummaryrefslogtreecommitdiff
path: root/web/request.go
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2026-08-23 21:35:59 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2026-08-23 21:35:59 +0200
commit08fdd6964fd9ef29356420b035e2d186546f674a (patch)
tree812565b5ca57405a5b36b2d7edfab983f6f079d4 /web/request.go
parent2d8503cafb9f63ca4cb63f041281987f9a63f16a (diff)
Add hardcore ride categorisation with bike and ride types
Diffstat (limited to 'web/request.go')
-rw-r--r--web/request.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/request.go b/web/request.go
index d51a582..43eee48 100644
--- a/web/request.go
+++ b/web/request.go
@@ -25,6 +25,9 @@ func rideDetailNotice(r *http.Request) string {
if r.URL.Query().Get("official_climb") == "created" {
return "Official climb saved and matched to this ride by coordinates."
}
+ if r.URL.Query().Get("categories") == "updated" {
+ return "Ride categories updated."
+ }
return ""
}