Skip to content

Commit

Permalink
pencilblue#1203 Fixed incorrect error controller path creation for ht…
Browse files Browse the repository at this point in the history
…ml formatter
  • Loading branch information
brianhyder committed Jan 18, 2017
1 parent 6d480e9 commit 1f6101b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/error/formatters/error_formatters.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ module.exports = function(pb) {
path.join(pb.config.docRoot, 'plugins', params.activeTheme, 'controllers/error/index.js')
];
if (params.activeTheme !== pb.config.plugins.default) {
paths.push(path.join(pb.config.docRoot, 'plugins', params.activeTheme, 'controllers/error', code + '.js'));
paths.push(path.join(pb.config.docRoot, 'plugins', pb.config.plugins.default, 'controllers/error', code + '.js'));
}
paths.push(path.join(pb.config.docRoot, 'controllers/error_controller.js'));

Expand Down

0 comments on commit 1f6101b

Please sign in to comment.