Skip to main content

load_view

Function load_view 

Source
pub async fn load_view(
    conn: &mut PgConnection,
    user_id: Uuid,
    course: Course,
    parts: CourseParts,
) -> ModelResult<CourseView>
Expand description

Loads the parts of the published course and the user’s open changeset for it.