lib/code_corps_web/views/category_view.ex
defmodule CodeCorpsWeb.CategoryView do
@moduledoc false
use CodeCorpsWeb, :view
use JaSerializer.PhoenixView
attributes [:name, :slug, :description]
has_many :project_categories, serializer: CodeCorpsWeb.ProjectCategoryView, identifiers: :always
end