mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +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
|