From afe6f46b03bc4c955a85408acce96a1e2f35df5b Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Mon, 4 Sep 2017 13:40:11 +0200 Subject: [PATCH] merges after_save --- app/models/theme.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/models/theme.rb b/app/models/theme.rb index 2906262eaac..b9bf76c53d6 100644 --- a/app/models/theme.rb +++ b/app/models/theme.rb @@ -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