Colored labels for events

This commit is contained in:
Dmitriy Zaporozhets 2012-09-24 13:33:51 +03:00
parent d23022c6f6
commit 6667f3dbf9
6 changed files with 38 additions and 35 deletions

View file

@ -132,6 +132,7 @@ class Event < ActiveRecord::Base
end
end
delegate :name, :email, to: :author, prefix: true, allow_nil: true
delegate :title, to: :issue, prefix: true, allow_nil: true
delegate :title, to: :merge_request, prefix: true, allow_nil: true