app/controllers/weeler/seo_items_controller.rb in weeler-2.0.0 vs app/controllers/weeler/seo_items_controller.rb in weeler-2.0.1
- old
+ new
@@ -15,10 +15,11 @@
id, value = translation.first, translation.last
translation = I18n::Backend::Weeler::Translation.find(id)
translation.value = value
translation.save
end
- Settings.i18n_updated_at = Time.now
+ Setting.i18n_updated_at = Time.now
+
redirect_to({action: :edit, id: params[:id]}, {flash: {success: "Section updated."}})
end
end
-end
\ No newline at end of file
+end