Browse Source

add sonar_url for details

pull/222/head
chenjing 4 years ago
parent
commit
2743da824e
2 changed files with 1 additions and 1 deletions
  1. +0
    -1
      app/helpers/projects_helper.rb
  2. +1
    -0
      app/views/repositories/detail.json.jbuilder

+ 0
- 1
app/helpers/projects_helper.rb View File

@@ -54,7 +54,6 @@ module ProjectsHelper
tmp_json = tmp_json.merge({
identifier: render_identifier(project),
name: project.name,
sonar_url: project.sonar_url,
platform: project.platform,
id: project.id,
repo_id: repo.id,


+ 1
- 0
app/views/repositories/detail.json.jbuilder View File

@@ -1,6 +1,7 @@
json.content @project.content
json.website @project.website
json.lesson_url @project.lesson_url
json.sonar_url @project.sonar_url
json.identifier render_identifier(@project)
json.invite_code @project.invite_code
json.name @project.name


Loading…
Cancel
Save