mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
8 lines
222 B
Elixir
8 lines
222 B
Elixir
defmodule PhilomenaWeb.CommissionView do
|
|
use PhilomenaWeb, :view
|
|
|
|
alias Philomena.Commissions.Commission
|
|
|
|
def categories, do: [[key: "-", value: ""] | Commission.categories()]
|
|
def types, do: Commission.types()
|
|
end
|