sunday_slate/home/mod.rs
1//! The home dispatcher: `GET /` redirects to the page that represents the
2//! league's current state — usually the current contest.
3
4pub(crate) mod service;
5
6mod handlers;
7
8use crate::AppState;
9use axum::Router;
10use axum::routing::get;
11
12pub fn router() -> Router<AppState> {
13 Router::new().route("/", get(handlers::index))
14}