fix templates api page when new installation

This commit is contained in:
Alex Turchyn
2023-08-15 21:39:25 +03:00
parent 47c57158f4
commit 130c91178f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ module Api
def show
render json: @template.as_json(include: { author: { only: %i[id email first_name last_name] },
documents: { only: %i[id filename uuid], methods: %i[url] } })
documents: { only: %i[id uuid], methods: %i[url filename] } })
end
def update