0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core
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
..
client Fix unsaved nav settings persisting across transitions 2015-10-07 15:57:14 +01:00
server fix for page deletion not updating sitemap-page.xml 2015-10-12 09:26:26 +02:00
shared First pass at user onboarding screens 2015-05-25 17:43:12 +01:00
test fix for page deletion not updating sitemap-page.xml 2015-10-12 09:26:26 +02:00
index.js Misc grunt /dev updates 2015-05-28 20:25:14 +01:00