Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeaQL/sea-orm
/ routes
Function
routes
examples/react_admin/backend/src/controllers/notes.rs:67–75 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
65
}
66
67
pub fn routes() -> Routes {
68
Routes::new()
69
.prefix(
"notes"
)
70
.add(
"/"
, get(list))
71
.add(
"/"
, post(add))
72
.add(
"/{id}"
, get(get_one))
73
.add(
"/{id}"
, delete(remove))
74
.add(
"/{id}"
, post(update))
75
}
Callers
nothing calls this directly
Calls
3
add
Method · 0.80
new
Function · 0.50
delete
Function · 0.50
Tested by
no test coverage detected