Is there a way to return a response from the router without going through a controller? I have tried a few different methods with no success.
scope "/health_check", ZB do
get "/" do
text conn, "ok"
end
end
get "/health_check" do
text conn, "ok"
end
Phoenix.Router
require aplug
andplug_opts
: github.com/phoenixframework/phoenix/blob/master/lib/phoenix/… – Dogbert