gitlab-org--gitlab-foss/app/helpers/favicon_helper.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
201 B
Ruby
Raw Permalink Normal View History

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