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

10 lines
200 B
Ruby
Raw Normal View History

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