debian-mirror-gitlab/app/helpers/favicon_helper.rb
2022-08-27 11:52:29 +05:30

9 lines
201 B
Ruby

# frozen_string_literal: true
module FaviconHelper
def favicon_extension_allowlist
FaviconUploader::EXTENSION_ALLOWLIST
.map { |extension| "'.#{extension}'" }
.to_sentence
end
end