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:
Toshi MARUYAMA 2012-12-21 04:52:58 +00:00
parent 77a974b4ee
commit b4aab7b375
1 changed files with 2 additions and 2 deletions

View File

@ -19,12 +19,12 @@ class IssueRelation < ActiveRecord::Base
# Class used to represent the relations of an issue
class Relations < Array
include Redmine::I18n
def initialize(issue, *args)
@issue = issue
super(*args)
end
def to_s(*args)
map {|relation| "#{l(relation.label_for(@issue))} ##{relation.other_issue(@issue).id}"}.join(', ')
end