mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-07 06:47:39 +03:00
migrate to ntex-router
This commit is contained in:
parent
e862efc4e6
commit
06db684f9e
20 changed files with 110 additions and 139 deletions
|
@ -95,9 +95,9 @@ impl<T: ResourcePath> Path<T> {
|
|||
self.skip += n;
|
||||
}
|
||||
|
||||
pub(crate) fn add(&mut self, name: &'static str, value: String) {
|
||||
self.segments.push((name, PathItem::Segment(value)))
|
||||
}
|
||||
// pub(crate) fn add(&mut self, name: &'static str, value: String) {
|
||||
// self.segments.push((name, PathItem::Segment(value)))
|
||||
// }
|
||||
|
||||
#[doc(hidden)]
|
||||
pub fn add_static(&mut self, name: &'static str, value: &'static str) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue