Skip to content

Commit

Permalink
Add meta_review_issue_id to JSON views
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanxu committed Jun 30, 2023
1 parent a747a30 commit 7c95ab5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/views/papers/index.json.jbuilder
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ json.array! @papers do |paper|
json.languages paper.language_tags.join(', ')
json.tags paper.author_tags.join(', ')
json.paper_review paper.review_url
json.meta_review_issue_id paper.meta_review_issue_id
json.pdf_url paper.seo_pdf_url
json.software_archive paper.archive_doi_url
end
Expand Down
1 change: 1 addition & 0 deletions app/views/papers/show.json.jbuilder
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ if @paper.published?
json.languages @paper.language_tags.join(', ')
json.tags @paper.author_tags.join(', ')
json.paper_review @paper.review_url
json.meta_review_issue_id @paper.meta_review_issue_id
json.pdf_url @paper.seo_pdf_url
json.software_archive @paper.archive_doi_url
end

0 comments on commit 7c95ab5

Please sign in to comment.