Merge pull request #526 from cobbspur/helpers2

fixes missing helper
This commit is contained in:
Hannah Wolfe 2013-08-25 08:28:48 -07:00
commit a7f2c0e7d3

View File

@ -284,6 +284,12 @@ coreHelpers = function (ghost) {
});
});
ghost.registerThemeHelper('helperMissing', function (arg) {
if (arguments.length === 2) {
return undefined;
}
errors.logError("Missing helper: '" + arg + "'");
});
// Return once the template-driven helpers have loaded
return when.join(
navHelper,