diff --git a/src/install.js b/src/install.js index d3df90b267..b696c5cdf8 100644 --- a/src/install.js +++ b/src/install.js @@ -385,6 +385,13 @@ function createCategories(next) { }); } +function createMenuItems(next) { + var navigation = require('./navigation/admin'), + data = require('../install/data/navigation.json'); + + navigation.save(data, next); +} + function createWelcomePost(next) { var db = require('./database'), Topics = require('./topics'); @@ -463,6 +470,7 @@ install.setup = function (callback) { enableDefaultTheme, createAdministrator, createCategories, + createMenuItems, createWelcomePost, enableDefaultPlugins, setCopyrightWidget,