Skip to content

Commit 85f4253

Browse files
authored
change string representation for RecentFailures
Since this representation is used for routing (namely for pagination links), it must be consistent with the paths set in routing.
1 parent 4186eea commit 85f4253

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/web/releases.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ impl ReleaseType {
319319
match self {
320320
Self::Recent => "recent",
321321
Self::Stars => "stars",
322-
Self::RecentFailures => "recent_failures",
322+
Self::RecentFailures => "recent-failures",
323323
Self::Failures => "failures",
324324
Self::Search => "search",
325325
}

0 commit comments

Comments
 (0)