Function headless_lms_server::controllers::course_material::glossary::_add_routes
source ยท pub fn _add_routes(cfg: &mut ServiceConfig)
Expand description
Add a route for each controller in this module.
The name starts with an underline in order to appear before other functions in the module documentation.
We add the routes by calling the route method instead of using the route annotations because this method preserves the function signatures for documentation.