Fix Zeitwerk load error for SanitizeConfig

"expected file app/lib/sanitize_config.rb to define constant
SanitizeConfig"
This commit is contained in:
rubic0n 2021-01-31 17:11:02 -06:00
parent 2b9144d50c
commit bee832d4ef
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# frozen_string_literal: true # frozen_string_literal: true
require 'singleton' require 'singleton'
require_relative './sanitize_config' require_relative './sanitize/config'
class HTMLRenderer < Redcarpet::Render::HTML class HTMLRenderer < Redcarpet::Render::HTML
def block_code(code, language) def block_code(code, language)
@ -485,4 +485,4 @@ class Formatter
"<a data-focusable=\"true\" role=\"link\" href=\"#{encode(TagManager.instance.url_for(account))}\" class=\"u-url mention\">@#{encode(account.acct)}</a>" "<a data-focusable=\"true\" role=\"link\" href=\"#{encode(TagManager.instance.url_for(account))}\" class=\"u-url mention\">@#{encode(account.acct)}</a>"
end end
end end