debian-mirror-gitlab/app/helpers/favicon_helper.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
201 B
Ruby
Raw Normal View History

2018-12-05 23:21:45 +05:30
# frozen_string_literal: true
2018-11-08 19:23:39 +05:30
module FaviconHelper
2022-08-27 11:52:29 +05:30
def favicon_extension_allowlist
FaviconUploader::EXTENSION_ALLOWLIST
.map { |extension| "'.#{extension}'" }
2018-11-08 19:23:39 +05:30
.to_sentence
end
end