remove trailing white-spaces from app/models/issue_relation.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11061 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
77a974b4ee
commit
b4aab7b375
|
@ -19,12 +19,12 @@ class IssueRelation < ActiveRecord::Base
|
||||||
# Class used to represent the relations of an issue
|
# Class used to represent the relations of an issue
|
||||||
class Relations < Array
|
class Relations < Array
|
||||||
include Redmine::I18n
|
include Redmine::I18n
|
||||||
|
|
||||||
def initialize(issue, *args)
|
def initialize(issue, *args)
|
||||||
@issue = issue
|
@issue = issue
|
||||||
super(*args)
|
super(*args)
|
||||||
end
|
end
|
||||||
|
|
||||||
def to_s(*args)
|
def to_s(*args)
|
||||||
map {|relation| "#{l(relation.label_for(@issue))} ##{relation.other_issue(@issue).id}"}.join(', ')
|
map {|relation| "#{l(relation.label_for(@issue))} ##{relation.other_issue(@issue).id}"}.join(', ')
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue