summaryrefslogtreecommitdiff
path: root/app/helpers/favicon_helper.rb
blob: 4a809731d97fa19753c4befddc22129902fb9bbf (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

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