ubicloud/routes/project/inference_endpoint.rb
Benjamin Satzger 3b19ae7d51 wip
2024-12-10 16:29:30 +01:00

15 lines
321 B
Ruby

# frozen_string_literal: true
class Clover
hash_branch(:project_prefix, "inference-endpoint") do |r|
unless @project.get_ff_inference_ui
response.status = 404
r.halt
end
r.get true do
@inference_endpoints = inference_endpoint_list
view "inference/endpoint/index"
end
end
end