fp/apps/bright/lib/bright_web/controllers/patron_controller.ex
CJ_Clippy aa75c224fc
Some checks failed
ci / build (push) Failing after 23m29s
ci / Tests & Checks (push) Failing after 3m32s
move services/bright to apps/bright
2025-02-10 08:16:50 -08:00

11 lines
214 B
Elixir

defmodule BrightWeb.PatronController do
use BrightWeb, :controller
alias Bright.Patrons
def index(conn, _params) do
patrons = Patrons.list_patrons()
render(conn, :index, patrons: patrons)
end
end