app/controllers/lit/localizations_controller.rb in lit-0.2.1 vs app/controllers/lit/localizations_controller.rb in lit-0.2.2
- old
+ new
@@ -8,10 +8,10 @@
respond_to :js
end
def update
if @localization.update_attributes(clear_params)
- Lit.init.cache.refresh_key @localization.full_key
+ Lit.init.cache.update_cache @localization.full_key, @localization.get_value
end
@localization.reload
respond_to :js
end