From 40f4fc2682e9fc0af8b7a0eb4f104837a4bdef8c Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 27 Jun 2017 14:27:54 +0200 Subject: [PATCH] Add the profile app in template.js --- customize.dist/pages.js | 4 ++++ customize.dist/template.js | 2 ++ 2 files changed, 6 insertions(+) diff --git a/customize.dist/pages.js b/customize.dist/pages.js index 2be78d38a..6f0d63711 100644 --- a/customize.dist/pages.js +++ b/customize.dist/pages.js @@ -284,6 +284,10 @@ define([ return h('div#container'); }; + Pages['/profile/'] = Pages['/profile/index.html'] = function () { + return h('div#container'); + }; + Pages['/register/'] = Pages['/register/index.html'] = function () { return [h('div#main', [ h('div.mainOverlay'), diff --git a/customize.dist/template.js b/customize.dist/template.js index 24d859633..2e7658fb3 100644 --- a/customize.dist/template.js +++ b/customize.dist/template.js @@ -139,6 +139,8 @@ $(function () { require([ '/settings/main.js', ], function () {}); } else if (/^\/user\//.test(pathname)) { require([ '/user/main.js'], function () {}); + } else if (/^\/profile\//.test(pathname)) { + require([ '/profile/main.js'], function () {}); } else if (/^\/register\//.test(pathname)) { require([ '/register/main.js' ], function () {}); } else if (/^\/login\//.test(pathname)) {