|
|
@@ -5,6 +5,7 @@ module.exports = function(crowi, app) {
|
|
|
, models = crowi.models
|
|
|
, Config = models.Config
|
|
|
, User = models.User
|
|
|
+ , Page = models.Page
|
|
|
|
|
|
, actions = {};
|
|
|
|
|
|
@@ -41,6 +42,9 @@ module.exports = function(crowi, app) {
|
|
|
req.flash('successMessage', 'Crowi のインストールが完了しました!はじめに、このページでこの Wiki の各種設定を確認してください。');
|
|
|
return res.redirect('/admin/app');
|
|
|
});
|
|
|
+
|
|
|
+ // create portal page for '/'
|
|
|
+ Page.create('/', '# Welcome to crowi-plus!', userData, {});
|
|
|
});
|
|
|
});
|
|
|
} else {
|