1
0
mirror of https://github.com/actix/examples synced 2025-06-28 18:00:37 +02:00

update to beta.1

This commit is contained in:
Nikolay Kim
2019-04-21 09:36:31 -07:00
parent 0faa540b8d
commit 52811611d0
4 changed files with 24 additions and 11 deletions

View File

@ -2,7 +2,7 @@ use actix_web::{error, web};
use crate::handlers::{parts, products};
pub fn config_app(cfg: &mut web::RouterConfig) {
pub fn config_app(cfg: &mut web::ServiceConfig) {
// domain includes: /products/{product_id}/parts/{part_id}
cfg.service(
web::scope("/products")