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.
pub async fn load_view(
conn: &mut PgConnection,
user_id: Uuid,
course: Course,
parts: CourseParts,
) -> ModelResult<CourseView>Loads the parts of the published course and the user’s open changeset for it.