Browse Source

fixed 项目detail

pull/342/head
xxq250 3 years ago
parent
commit
466705bd0f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/views/projects/_detail.json.jbuilder

+ 1
- 1
app/views/projects/_detail.json.jbuilder View File

@@ -3,7 +3,7 @@ json.identifier project.identifier
json.name project.name
json.description project.description
json.is_public project.is_public
json.pr_need @project.owner.class == User ? false : @project.owner&.cla.try(:pr_need)
json.pr_need project.owner.class == User ? false : project.owner&.cla.try(:pr_need)
json.owner do
json.partial! "/users/user_simple", locals: {user: project.owner}
end

Loading…
Cancel
Save