fix error for page submit

This commit is contained in:
Harry Bomrah 2015-04-10 18:38:25 +08:00
parent b2a5e361e8
commit 4ecfb9bf80
1 changed files with 2 additions and 2 deletions

View File

@ -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|