summaryrefslogtreecommitdiffstats
path: root/app/models/issue.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-21 08:46:10 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-21 08:46:10 +0000
commitb81c2f17b49b1ae2f366e79cac11b3fadf6d4c06 (patch)
tree3dd4c4347b2e1e30798df61b83520a8ede52593a /app/models/issue.rb
parent68e560fbb0553de9b9e720ed48c206d59809d970 (diff)
downloadredmine-b81c2f17b49b1ae2f366e79cac11b3fadf6d4c06.tar.gz
redmine-b81c2f17b49b1ae2f366e79cac11b3fadf6d4c06.zip
remove trailing white-spaces except SQL from app/models/issue.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6516 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r--app/models/issue.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index ccd326552..aef3ddb31 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -229,7 +229,7 @@ class Issue < ActiveRecord::Base
@custom_field_values = nil
result
end
-
+
def description=(arg)
if arg.is_a?(String)
arg = arg.gsub(/(\r\n|\n|\r)/, "\r\n")
@@ -510,7 +510,7 @@ class Issue < ActiveRecord::Base
def relations
@relations ||= (relations_from + relations_to).sort
end
-
+
# Preloads relations for a collection of issues
def self.load_relations(issues)
if issues.any?
@@ -520,7 +520,7 @@ class Issue < ActiveRecord::Base
end
end
end
-
+
# Finds an issue relation given its id.
def find_relation(relation_id)
IssueRelation.find(relation_id, :conditions => ["issue_to_id = ? OR issue_from_id = ?", id, id])
@@ -850,7 +850,7 @@ class Issue < ActiveRecord::Base
end
end
end
-
+
# Callback on attachment deletion
def attachment_added(obj)
if @current_journal && !obj.new_record?