json_api do
routes do
base_route "/runtime-config", MyApp.RuntimeConfig do
# Unlike normal get actions, we only have one config. We don't want the `get` route to require "/:id".
get :get, route: "", derive_filter?: false
end
end
end
json_api do
routes do
base_route "/runtime-config", MyApp.RuntimeConfig do
# Unlike normal get actions, we only have one config. We don't want the `get` route to require "/:id".
get :get, route: "", derive_filter?: false
end
end
end