class AvatarSerializer < ApplicationSerializer
  attributes :username, :avatar_url

  def avatar_url
    object.avatar.url(288).to_s
  end
end

class AvatarSerializer < ApplicationSerializer
  attributes :username, :avatar_url
  attributes :url

  def avatar_url
    object.avatar.url(288).to_s
  end

  def url
    user_path(object)
  end
  
end

Add links to core team avatars.
Add links to core team avatars.
