0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-18 02:21:47 -05:00
ghost/core/test
Oliver Schneider 13adaec6e7 fix for page deletion not updating sitemap-page.xml
closes #5913

Sitemap deletion is based on the page.unpublished event. The previous
logic was always sending post.unpublished instead. If page or post
event is triggered is based on the ‘page’ attribute of the model. When
the destroyed handler all attributes are already cleared from the model
which makes this logic always fall back to post.

The fix is to move to the destroying event which still has all the
model values in place.
2015-10-12 09:26:26 +02:00
..
functional Merge pull request #5920 from kevinansfield/fix-upload-autoscroll 2015-10-07 12:46:56 +01:00
integration fix for page deletion not updating sitemap-page.xml 2015-10-12 09:26:26 +02:00
unit Simplify theme middleware + improve tests 2015-10-11 22:26:43 +01:00
utils Fix client.secret for new installs 2015-09-25 21:03:33 +02:00
.jshintrc Remove jshint rules that are no longer supported 2015-01-23 21:00:37 +00:00