mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 14:57: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
|