discourse-translator/lib/discourse_translator/topic_extension.rb

9 lines
230 B
Ruby

# frozen_string_literal: true
module DiscourseTranslator
module TopicExtension
extend ActiveSupport::Concern
prepended { before_update :clear_translations, if: :fancy_title_changed? }
include Translatable
end
end