gitlab-org--gitlab-foss/app/helpers/favicon_helper.rb
2018-06-06 11:28:13 +02:00

7 lines
169 B
Ruby

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