mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-12-22 17:07:59 +01:00
7 lines
228 B
Elixir
7 lines
228 B
Elixir
defmodule PhilomenaWeb.ChannelView do
|
|
use PhilomenaWeb, :view
|
|
|
|
def channel_image(%{thumbnail_url: thumbnail_url}) do
|
|
PhilomenaProxy.Camo.image_url(thumbnail_url || "https://picarto.tv/images/missingthumb.jpg")
|
|
end
|
|
end
|