[+] Encapsulate get urlHash in Course

This commit is contained in:
Hykilpikonna
2019-12-21 12:55:59 -05:00
parent 71352ee39a
commit e90741b6bc
+8
View File
@@ -294,4 +294,12 @@ export default class Course
})
})
}
/**
* Get url hash code
*/
get urlHash(): string
{
return `course/${this.id}`
}
}