Skip to content
Snippets Groups Projects
Unverified Commit 2c397d70 authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

app:fix really fix

parent 9c710caa
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ namespace :app do
# On supprime toutes les pages spéciales potentiellement non nécessaires créées après migration
Communication::Website::Page.where(type: special_page_types).where('created_at > ?', 2.days.ago).each do |special_page|
next unless special_page.is_necessary_for_website?
next if special_page.is_necessary_for_website?
special_page.destroy
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment