0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/server/middleware
Matt Enlow 345fe1a6d4 Fixed check for a theme's custom error.hbs:
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.
2014-03-29 08:19:51 -06:00
..
ghost-busboy.js Add JSON API tests & cleanup 2014-02-28 22:26:03 +00:00
index.js Fixed check for a theme's custom error.hbs: 2014-03-29 08:19:51 -06:00
middleware.js /ghost/reset/* should not redirect to signin 2014-02-25 10:44:16 +00:00