pub fn register(config: &mut ServiceConfig) {
    // Register authentication related services
    auth::register(config);

    // Register user related services
    user::register(config);

    // Calendar related services.
    meetings::register(config);

    // Project related services.
    projects::register(config);

    // Admin panel services.
    admin::register(config);

    config
        // Homepage
        .service(index::index);
}
/// Register all of the routes to the actix app.
Register all of the routes to the actix app.
Register all of the routes to the actix app .
pub fn register(config: &mut ServiceConfig) {
    // Register authentication related services
    auth::register(config);
    // Register user related services
    user::register(config);
    // Calendar related services.
    meetings::register(config);
    // Project related services.
    projects::register(config);
    // Admin panel services.
    admin::register(config);
    config
        // Homepage
        .service(index::index);
}
pub fn register ( config : & mut ServiceConfig ) { // Register authentication related services auth :: register ( config ) ; // Register user related services user :: register ( config ) ; // Calendar related services. meetings :: register ( config ) ; // Project related services. projects :: register ( config ) ; // Admin panel services. admin :: register ( config ) ; config // Homepage . service ( index :: index ) ; }
Register all of the routes to the actix app.
Register all of the routes to the actix app .
config
&mut ServiceConfig
config
&mut ServiceConfig