Browse Source

FIX code bug

tags/v3.0.2^2
jasder 5 years ago
parent
commit
6a3d297b30
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      app/views/repositories/_commit_author.json.jbuilder
  2. +1
    -1
      app/views/repositories/commits.json.jbuilder

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

@@ -7,5 +7,5 @@ else
json.id nil
json.login name
json.name name
json.image_url User.get_letter_avatar_url(name)
json.image_url User::Avatar.get_letter_avatar_url(name)
end

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

@@ -26,7 +26,7 @@ else
json.login commit['commit']['author']['name']
json.type nil
json.name commit['commit']['author']['name']
json.image_url User.get_letter_avatar_url(commit['commit']['author']['name'])
json.image_url User::Avatar.get_letter_avatar_url(commit['commit']['author']['name'])
end
end
end


Loading…
Cancel
Save