Skip to content
This repository has been archived by the owner on Jan 10, 2022. It is now read-only.

Commit

Permalink
fix copying of theme config from extension.
Browse files Browse the repository at this point in the history
  • Loading branch information
richtera committed Nov 4, 2012
1 parent cc0e115 commit 2e546d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/core/Themes.js
Expand Up @@ -160,7 +160,8 @@ module.exports.Theme = function(theme, next) {
// Scan through each layout // Scan through each layout
layoutConfig = moduleThemeConfig.layouts[layout].layout; layoutConfig = moduleThemeConfig.layouts[layout].layout;


if (!this.cache[layout]) { if (!this.config.layouts[layout]) {
theme.config.layouts[layout] = moduleThemeConfig.layouts[layout];
// Add the layout template // Add the layout template
templates.push({ templates.push({
name: layout, name: layout,
Expand Down

0 comments on commit 2e546d9

Please sign in to comment.