Add JSON output to /api/versions

This commit is contained in:
Anton Khorev 2023-08-18 05:08:41 +03:00
parent 54164f6cc6
commit 5bdaf0b73b
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,5 @@
json.partial! "api/root_attributes"
json.api do
json.versions @versions
end