mirror of
https://github.com/neocities/neocities.git
synced 2025-06-18 18:34:30 +02:00
purge for delete and purge for refreshing
This commit is contained in:
parent
12a543d2aa
commit
985a2f8b60
7 changed files with 184 additions and 3 deletions
|
@ -196,7 +196,7 @@ post '/settings/:username/change_name' do
|
|||
}
|
||||
|
||||
old_file_paths.each do |file_path|
|
||||
@site.purge_cache file_path
|
||||
@site.delete_cache file_path
|
||||
end
|
||||
|
||||
flash[:success] = "Site/user name has been changed. You will need to use this name to login, <b>don't forget it</b>."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue