fp/services/bright/lib/bright_web/controllers/patron_controller.ex
CJ_Clippy 8b8de3b072
Some checks failed
ci / build (push) Has been cancelled
phoenix integration begin
2025-01-03 06:45:35 -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