Take quasi's {name} captures
2 files changed,
+3 insertions,
-3 deletions
| 45 |
45 |
|
const REGION: &str = "tab-content";
|
| 46 |
46 |
|
|
| 47 |
47 |
|
/// The address a revoke calls, relative to this screen's own nest.
|
| 48 |
|
- |
const REVOKE: &str = "/revoke/:seller_id";
|
|
48 |
+ |
const REVOKE: &str = "/revoke/{seller_id}";
|
| 49 |
49 |
|
|
| 50 |
50 |
|
/// The writes this screen serves. Registered under its nest by `super::mount`.
|
| 51 |
51 |
|
pub const WRITES: &[(Method, &str, super::Screen)] = &[(Method::Delete, REVOKE, revoke)];
|
| 60 |
60 |
|
const REGION: &str = "settings-body";
|
| 61 |
61 |
|
|
| 62 |
62 |
|
/// The address removing a key calls, relative to this screen's own nest.
|
| 63 |
|
- |
const REMOVE_KEY: &str = "/keys/:id";
|
|
63 |
+ |
const REMOVE_KEY: &str = "/keys/{id}";
|
| 64 |
64 |
|
|
| 65 |
65 |
|
/// The address revoking a token calls, relative to this screen's own nest.
|
| 66 |
|
- |
const REVOKE_TOKEN: &str = "/tokens/:id";
|
|
66 |
+ |
const REVOKE_TOKEN: &str = "/tokens/{id}";
|
| 67 |
67 |
|
|
| 68 |
68 |
|
/// The writes this screen serves. Registered under its nest by `super::mount`.
|
| 69 |
69 |
|
pub const WRITES: &[(Method, &str, super::Screen)] = &[
|