Skip to main content

sunday_slate/standings/
mod.rs

1pub mod service;
2// The aggregation module keeps the domain noun (rows, ranks, counts) under
3// the same namespace the page uses — `standings::standings` — rather than
4// inventing a second word for it.
5#[allow(clippy::module_inception)]
6pub mod standings;
7
8mod handlers;
9
10use crate::AppState;
11use axum::Router;
12use axum::routing::get;
13
14pub fn router() -> Router<AppState> {
15    Router::new().route("/standings", get(handlers::index))
16}