fix for cache purge rename

This commit is contained in:
Kyle Drake 2024-02-22 12:30:41 -06:00
parent f7341f5a51
commit b0bb40fe23
2 changed files with 14 additions and 0 deletions

View file

@ -116,6 +116,9 @@ class SiteFile < Sequel::Model
site.purge_cache site_file.path
site.purge_cache original_site_file_path
end
else
site.purge_cache new_path
site.purge_cache current_path
end
end