diff options
Diffstat (limited to 'app/models/graph/commit.rb')
-rw-r--r-- | app/models/graph/commit.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/models/graph/commit.rb b/app/models/graph/commit.rb index 742a73b38b7..8ed61f4b5af 100644 --- a/app/models/graph/commit.rb +++ b/app/models/graph/commit.rb @@ -4,7 +4,7 @@ module Graph class Commit include ActionView::Helpers::TagHelper - attr_accessor :time, :spaces, :refs, :parent_spaces + attr_accessor :time, :spaces, :refs, :parent_spaces, :icon def initialize(commit) @_commit = commit @@ -23,8 +23,9 @@ module Graph [p.id,0,0] end h[:author] = { - name: author.name, - email: author.email + name: author.name, + email: author.email, + icon: icon } h[:time] = time h[:space] = spaces.first |