summaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-03-02 19:47:58 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-03-02 19:47:58 +0000
commit18f431acc02757818f029c6551a6626ff796be63 (patch)
tree88fdc1c4d624720524eb360de89c15441db4618c /app/models
parent502376f8eec9d9d9aee71c59cda002151a436328 (diff)
downloadredmine-18f431acc02757818f029c6551a6626ff796be63.tar.gz
redmine-18f431acc02757818f029c6551a6626ff796be63.zip
Allow to disable description field in tracker setting (#25052).
Patch by Go MAEDA and Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@16351 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models')
-rw-r--r--app/models/tracker.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/tracker.rb b/app/models/tracker.rb
index 2dcbaed04..9c19111b1 100644
--- a/app/models/tracker.rb
+++ b/app/models/tracker.rb
@@ -18,10 +18,10 @@
class Tracker < ActiveRecord::Base
include Redmine::SafeAttributes
- CORE_FIELDS_UNDISABLABLE = %w(project_id tracker_id subject description priority_id is_private).freeze
+ CORE_FIELDS_UNDISABLABLE = %w(project_id tracker_id subject priority_id is_private).freeze
# Fields that can be disabled
# Other (future) fields should be appended, not inserted!
- CORE_FIELDS = %w(assigned_to_id category_id fixed_version_id parent_issue_id start_date due_date estimated_hours done_ratio).freeze
+ CORE_FIELDS = %w(assigned_to_id category_id fixed_version_id parent_issue_id start_date due_date estimated_hours done_ratio description).freeze
CORE_FIELDS_ALL = (CORE_FIELDS_UNDISABLABLE + CORE_FIELDS).freeze
before_destroy :check_integrity