Make DTL switchable

This commit is contained in:
KMY 2023-09-12 09:04:20 +09:00
parent 65fe554773
commit 6fe51e360a
14 changed files with 46 additions and 19 deletions

View file

@ -1,6 +1,13 @@
# frozen_string_literal: true
class Settings::Preferences::OtherController < Settings::Preferences::BaseController
include DtlHelper
def show
@dtl_enabled = DTL_ENABLED
@dtl_tag = DTL_TAG
end
private
def after_update_redirect_path