mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
345fe1a6d4
Closes #2513 - Checks for property `error.hbs` on active theme - Added unit test to ensure `error` view is rendered when activeTheme has a custom error template. - Removed unused variable, `userErrorTemplatePath` from errorHandler - Refactored errorHandler.`updateActiveTheme` to take one argument, the new active theme, and to then check if the active theme has an error.hbs - Changed errorHandler unit test to use rewire for mocking config. |
||
---|---|---|
.. | ||
api | ||
apps | ||
config | ||
controllers | ||
data | ||
helpers | ||
middleware | ||
models | ||
permissions | ||
routes | ||
storage | ||
views | ||
api.js | ||
bookshelf-session.js | ||
errorHandling.js | ||
filters.js | ||
index.js | ||
mail.js | ||
middleware.js | ||
require-tree.js | ||
update-check.js | ||
xmlrpc.js |