2018-08-18 11:19:57 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-05-17 17:00:32 +00:00
|
|
|
module FaviconHelper
|
2022-08-05 09:12:06 +00:00
|
|
|
def favicon_extension_allowlist
|
|
|
|
FaviconUploader::EXTENSION_ALLOWLIST
|
2022-08-17 09:11:44 +00:00
|
|
|
.map { |extension| "'.#{extension}'" }
|
2018-05-17 17:00:32 +00:00
|
|
|
.to_sentence
|
|
|
|
end
|
|
|
|
end
|