MCPcopy 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
119pub 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

addMethod · 0.80
newFunction · 0.50

Tested by

no test coverage detected