Apply suggestion to lib/pleroma/web/twitter_api/views/remote_follow_view.ex
This commit is contained in:
parent
c9a44ec4a6
commit
4c505bc615
|
@ -6,5 +6,5 @@ defmodule Pleroma.Web.TwitterAPI.RemoteFollowView do
|
|||
use Pleroma.Web, :view
|
||||
import Phoenix.HTML.Form
|
||||
|
||||
def avatar_url(user), do: Pleroma.User.avatar_url(user)
|
||||
defdelegate avatar_url(user), to: Pleroma.User.avatar_url
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue