Commit c73cde53 authored by Bryan Tong's avatar Bryan Tong

Fix missing reference to Main

parent a66d277d
......@@ -88,7 +88,7 @@ class Main {
).split('.')
const docInfo = info['v' + majorVersion]
let doc = null
const link = Route.titleCaseToUri(req.params.link)
const link = Main.titleCaseToUri(req.params.link)
if (docInfo.docMap[link]) doc = docInfo.docMap[link]
if (Validate.isType('string', doc)) doc = { url: doc }
if (!doc) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment