debian-mirror-gitlab/app/helpers/favicon_helper.rb
2018-12-05 23:21:45 +05:30

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