FIX code review
This commit is contained in:
parent
60ac66ebe3
commit
69f2fd2fbb
|
@ -1,6 +1,4 @@
|
|||
json.count @total_count
|
||||
json.projects do
|
||||
json.array! @projects do |project|
|
||||
json.partial! "/projects/project_detail", project: project
|
||||
end
|
||||
json.partial! '/projects/project_detail', collection: @projects, as: :project
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue