debian-mirror-gitlab/app/helpers/favicon_helper.rb
2018-11-08 19:23:39 +05:30

7 lines
169 B
Ruby

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