From 502af0827174d8b0e0ee413712ff50c0aad2e689 Mon Sep 17 00:00:00 2001 From: Parziphal Date: Mon, 26 May 2014 07:28:31 -0500 Subject: [PATCH] Uncommented 'expire_cache' after destroy --- app/models/Post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/Post.php b/app/models/Post.php index 2b6efea..799e611 100755 --- a/app/models/Post.php +++ b/app/models/Post.php @@ -245,7 +245,7 @@ class Post extends Rails\ActiveRecord\Base 'before_save' => ['commit_tags', 'filter_parent_id'], 'after_save' => ['update_parent', 'save_post_history', 'expire_cache'], - // 'after_destroy' => ['expire_cache'], + 'after_destroy' => ['expire_cache'], 'before_validation_on_create' => [ 'download_source', 'ensure_tempfile_exists', 'determine_content_type',