From 7e46bde3bc1263e0df6163a6086656d89c27dfd0 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Fri, 10 Apr 2015 18:38:25 +0800 Subject: [PATCH] fix error for page submit --- app/models/page.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/page.rb b/app/models/page.rb index aeea7fe..0f3d801 100644 --- a/app/models/page.rb +++ b/app/models/page.rb @@ -32,8 +32,8 @@ class Page before_create :assign_page_number - after_save :clear_cache - after_destroy :clear_cache + # after_save :clear_cache + # after_destroy :clear_cache def clear_cache I18n.available_locales.each do |locale|