gitlab-org--gitlab-foss/app/helpers/favicon_helper.rb
2018-09-06 17:33:46 -07:00

9 lines
200 B
Ruby

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