We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 769b219 commit a93a8f0Copy full SHA for a93a8f0
lib/broccoli/search-indexer.js
@@ -63,7 +63,7 @@ module.exports = class SearchIndexCompiler extends Writer {
63
if (relativePath.indexOf(podModulePrefix) === 0 && POD_TEMPLATE_REGEX.test(relativePath)) {
64
routePath = relativePath.replace(`${podModulePrefix}/`, '').replace(POD_TEMPLATE_REGEX, '');
65
} else if (relativePath.indexOf(modulePrefix) === 0 && /\.template-contents$/.test(relativePath)) {
66
- routePath = relativePath.replace(`${modulePrefix}/`, '').replace(/\.template-contents$/, '');
+ routePath = relativePath.replace(`${modulePrefix}/templates/`, '').replace(/\.template-contents$/, '');
67
}
68
69
if (routePath && routePath.indexOf('components/') !== 0) {
0 commit comments