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/files.rs:119–126 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
117
}
118
119
pub fn routes() -> Routes {
120
// Bind the routes
121
Routes::new()
122
.prefix(
"files"
)
123
.add(
"/upload/{notes_id}"
, post(upload))
124
.add(
"/list/{notes_id}"
, get(list))
125
.add(
"/view/{files_id}"
, get(view))
126
}
Callers
nothing calls this directly
Calls
2
add
Method · 0.80
new
Function · 0.50
Tested by
no test coverage detected