|
@@ -180,11 +180,6 @@ module.exports = function(crowi, app, req, locals) {
|
|
|
return Config.isEnabledAttachTitleHeader(config);
|
|
return Config.isEnabledAttachTitleHeader(config);
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
- locals.templateExists = function() {
|
|
|
|
|
- var config = crowi.getConfig();
|
|
|
|
|
- return Config.templateExists(config);
|
|
|
|
|
- };
|
|
|
|
|
-
|
|
|
|
|
locals.parentPath = function(path) {
|
|
locals.parentPath = function(path) {
|
|
|
if (path == '/') {
|
|
if (path == '/') {
|
|
|
return path;
|
|
return path;
|