mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-30 21:27:17 +00:00
20 lines
348 B
Ruby
20 lines
348 B
Ruby
# frozen_string_literal: true
|
|
|
|
module FileHelper
|
|
def black_logo_file
|
|
File.open(black_logo_path)
|
|
end
|
|
|
|
def white_logo_file
|
|
File.open(black_logo_path)
|
|
end
|
|
|
|
def black_logo_path
|
|
Rails.root.join('app/webpacker/images/logo-black.png')
|
|
end
|
|
|
|
def white_logo_path
|
|
Rails.root.join('app/webpacker/images/logo-white.png')
|
|
end
|
|
end
|