mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-22 02:23:30 +00:00
lib/models/languages.js: Use lang.ref
This commit is contained in:
@@ -57,7 +57,7 @@ Languages.createFromList = function(file, langs) {
|
||||
langs.forEach(function(lang) {
|
||||
lang = Language({
|
||||
title: lang.title,
|
||||
path: lang.path
|
||||
path: lang.ref
|
||||
});
|
||||
list = list.set(lang.getID(), lang);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user