diff --git a/customize.dist/pages.js b/customize.dist/pages.js index 9745163b1..faf6965a4 100644 --- a/customize.dist/pages.js +++ b/customize.dist/pages.js @@ -285,6 +285,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 8bc853d0b..563bc4708 100644 --- a/customize.dist/template.js +++ b/customize.dist/template.js @@ -136,6 +136,8 @@ $(function () { if (/^\/settings\//.test(pathname)) { require([ '/settings/main.js', ], function () {}); + } else if (/^\/profile\//.test(pathname)) { + require([ '/profile/main.js'], function () {}); } else if (/^\/user\//.test(pathname)) { require([ '/user/main.js'], function () {}); } else if (/^\/register\//.test(pathname)) { @@ -149,6 +151,5 @@ $(function () { require([ '/customize/main.js', ], function () {}); } }); - }); });