Krys4lide/crates/app/src/templates/mod.rs

13 lines
240 B
Rust
Raw Normal View History

2024-08-04 18:34:42 +02:00
use axum::Router;
mod hello;
mod nav;
mod profile;
2024-08-04 18:34:42 +02:00
pub fn get_routes() -> Router {
Router::new()
.nest("/hello", hello::get_routes())
.nest("/nav", nav::get_routes())
.nest("/profile", profile::get_routes())
2024-08-04 18:34:42 +02:00
}