gitlink-forgeplus/app/views/repositories/edit.json.jbuilder

10 lines
416 B
Ruby

json.project_id @project.id
json.project_name @project.name
json.project_identifier @project.identifier
json.project_description @project.description
json.project_category_id @project.project_category_id
json.project_language_id @project.project_language_id
json.private !@project.is_public
json.website @project.website
json.project_units @project.project_units.pluck(:unit_type)
json.lesson_url @project.lesson_url