forked from Trustie/forgeplus
6 lines
216 B
Plaintext
6 lines
216 B
Plaintext
|
|
|
||
|
|
if @result_object.has_key?("NumFiles")
|
||
|
|
json.partial! "api/v1/projects/simple_gitea_diff_detail", diff: @result_object
|
||
|
|
else
|
||
|
|
json.partial! "api/v1/projects/simple_gitea_diff_file_detail", file: @result_object
|
||
|
|
end
|