Permalink
Browse files

fix copying of theme config from extension.

  • Loading branch information...
1 parent cc0e115 commit 2e546d9f39ef412dbf7035ade6f8b7deaae1e40e @richtera richtera committed Nov 4, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/core/Themes.js
View
@@ -160,7 +160,8 @@ module.exports.Theme = function(theme, next) {
// Scan through each 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
templates.push({
name: layout,

0 comments on commit 2e546d9

Please sign in to comment.