Browse Source

fix: pullrequest comments_count

tags/v3.2.0
yystopf 4 years ago
parent
commit
6e653f768a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/views/pull_requests/show.json.jbuilder

+ 1
- 1
app/views/pull_requests/show.json.jbuilder View File

@@ -5,7 +5,7 @@ json.project_identifier @project.identifier
json.pr_time time_from_now(@pull_request.updated_at)
json.commits_count @pull_request.commits_count
json.files_count @pull_request.files_count
json.comments_count @pull_request.comments_count
json.comments_count @issue.get_journals_size

json.pull_request do
json.extract! @pull_request, :id,:base, :head, :status,:fork_project_id, :is_original


Loading…
Cancel
Save