diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-12-21 04:52:58 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-12-21 04:52:58 +0000 |
commit | b4aab7b375c1e763cf23304b1d162c647561a4ab (patch) | |
tree | 3fc191ce713e8d92f33360179c0c2c86f69a7da9 /app/models/issue_relation.rb | |
parent | 77a974b4ee991336e7bcddf87506f26c4496a7a3 (diff) | |
download | redmine-b4aab7b375c1e763cf23304b1d162c647561a4ab.tar.gz redmine-b4aab7b375c1e763cf23304b1d162c647561a4ab.zip |
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
Diffstat (limited to 'app/models/issue_relation.rb')
-rw-r--r-- | app/models/issue_relation.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/issue_relation.rb b/app/models/issue_relation.rb index 8af56aedb..9093edeb9 100644 --- a/app/models/issue_relation.rb +++ b/app/models/issue_relation.rb @@ -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 |