mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
WIP
This commit is contained in:
@@ -372,7 +372,7 @@ const mergeObjectsBykey = (object1, object2, key) => {
|
||||
};
|
||||
|
||||
function templateRender(filePath, options) {
|
||||
const basePath = path.join(__dirname, '../../resources/views');
|
||||
const basePath = path.join(global.__resources_dir, '/views');
|
||||
return pug.renderFile(`${basePath}/${filePath}.pug`, options);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user