mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
add path separator
This commit is contained in:
parent
510abe5103
commit
4827115b90
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue