merges after_save

This commit is contained in:
Joffrey JAFFEUX 2017-09-04 13:40:11 +02:00
parent caedefd675
commit afe6f46b03
1 changed files with 0 additions and 2 deletions

View File

@ -32,9 +32,7 @@ class Theme < ActiveRecord::Base
@dependant_themes = nil
@included_themes = nil
end
after_save do
remove_from_cache!
notify_scheme_change if color_scheme_id_changed?
end