mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-12-18 06:57:59 +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
|