Commit b69c2994 by Иван Кубота

merge

parent ce04e4b4
......@@ -20,7 +20,7 @@ var Route = function(url) {
i<_i-1 && out.push('([^\\/]+)');
}
this.RegExp = new RegExp('^'+out.join('')+'$', 'i');
this.RegExp = new RegExp('^'+out.join('')+'/?$', 'i');
};
Route.prototype = {
generate: function(data) {
......
......@@ -26,7 +26,9 @@ const KnowledgeBasePage = D.declare('view.page.KnowledgeBasePage', () => {
</div>
</div>
</div>
})
});
KnowledgeBasePage.route = new Route('/category')
export default KnowledgeBasePage;
export {KnowledgeBasePage};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment