From 4827115b9031a2d24b5a6d1682c0ef7106786d28 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Mon, 11 Nov 2019 12:38:26 -0500 Subject: [PATCH] add path separator --- lib/philomena_web/views/user_attribution_view.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/philomena_web/views/user_attribution_view.ex b/lib/philomena_web/views/user_attribution_view.ex index 2b2ca5cc..acb39f9f 100644 --- a/lib/philomena_web/views/user_attribution_view.ex +++ b/lib/philomena_web/views/user_attribution_view.ex @@ -23,7 +23,7 @@ defmodule PhilomenaWeb.UserAttributionView do def user_avatar(%{user: %{avatar: nil}} = object, class), do: anonymous_avatar(object, class) def user_avatar(%{user: %{avatar: avatar}}, class), - do: img_tag(avatar_url_root() <> avatar, class: class) + do: img_tag(avatar_url_root() <> "/" <> avatar, class: class) defp avatar_url_root do Application.get_env(:philomena, :avatar_url_root)