fix: educoder entries file use hash

This commit is contained in:
2021-12-09 11:06:49 +08:00
parent 0d64768e4b
commit 102858bc8c
3 changed files with 20 additions and 20 deletions

View File

@@ -24,8 +24,6 @@ if @project.educoder?
end
end
json.entries do
json.array! @sub_entries['trees'] do |entry|
json.partial! 'repositories/simple_entry', locals: { entry: entry }
end
json.partial! 'repositories/simple_entry', locals: { entry: @sub_entries['trees']}
end
end