mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-08 00:00:24 +02:00
fix docs
This commit is contained in:
@@ -137,7 +137,7 @@ where
|
|||||||
self.route(&path, delete(handler))
|
self.route(&path, delete(handler))
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Nest another route at the "member level".
|
/// Nest another router at the "member level".
|
||||||
///
|
///
|
||||||
/// The routes will be nested at `/{resource_name}/:{resource_name}_id`.
|
/// The routes will be nested at `/{resource_name}/:{resource_name}_id`.
|
||||||
pub fn nest(mut self, router: Router<B>) -> Self {
|
pub fn nest(mut self, router: Router<B>) -> Self {
|
||||||
@@ -146,7 +146,7 @@ where
|
|||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Nest another route at the "collection level".
|
/// Nest another router at the "collection level".
|
||||||
///
|
///
|
||||||
/// The routes will be nested at `/{resource_name}`.
|
/// The routes will be nested at `/{resource_name}`.
|
||||||
pub fn nest_collection(mut self, router: Router<B>) -> Self {
|
pub fn nest_collection(mut self, router: Router<B>) -> Self {
|
||||||
|
|||||||
Reference in New Issue
Block a user