about summary refs log tree commit diff stats
path: root/crates/rocie-server/src/api/get/mod.rs
blob: 21684af053772c5fdbaf35473719590ed5e2c084 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
use actix_web::web;

pub(crate) mod inventory;
pub(crate) mod product;
pub(crate) mod unit;

pub(crate) fn register_paths(cfg: &mut web::ServiceConfig) {
    cfg.service(product::product_by_id)
        .service(product::products)
        .service(unit::units)
        .service(unit::unit_by_id)
        .service(inventory::amount_by_id);
}