Skip to content
Clone
350bd30
11 lines 270 B Rust
use export::http::Router;
use crate::bootstrap::Deps;
pub fn router(deps: &Deps) -> Router<()> {
auth::routes::router(deps.auth.clone()).with_state(deps.auth.clone())
}
pub fn pages(deps: &Deps) -> Router<()> {
auth::routes::pages_router(deps.auth.clone())
}