This commit is contained in:
2024-07-02 13:33:29 -03:00
parent 9997cdaeaf
commit 72c519a23a
3 changed files with 5 additions and 4 deletions

View File

@ -23,7 +23,7 @@ module Funkos
funkos.sort! { |a, b| a.name <=> b.name }
if env.params.query.fetch("format", "json") == "html"
render "src/views/funkos.ecr"
render "src/views/funkos.ecr"
else
funkos.to_json
end