summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-09-20 15:03:37 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-09-20 15:03:37 +0000
commit3be589df241c0df0645bdcc830b66789420d6e5b (patch)
tree8556f521939e98644b9f29d243cb3e763c2725e0 /app
parent4074ca07718ff6928a69df3b6fff24a1d4e57cbf (diff)
downloadredmine-3be589df241c0df0645bdcc830b66789420d6e5b.tar.gz
redmine-3be589df241c0df0645bdcc830b66789420d6e5b.zip
use "attr_writer" instead of "attr_accessor" for Issue#deleted_attachment_ids
Issue#deleted_attachment_ids is already defined in Issue class. git-svn-id: http://svn.redmine.org/redmine/trunk@18487 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/models/issue.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index 507574de7..9ac09f44a 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -56,7 +56,7 @@ class Issue < ActiveRecord::Base
DONE_RATIO_OPTIONS = %w(issue_field issue_status)
- attr_accessor :deleted_attachment_ids
+ attr_writer :deleted_attachment_ids
attr_reader :current_journal
delegate :notes, :notes=, :private_notes, :private_notes=, :to => :current_journal, :allow_nil => true