1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-09 00:51:31 +00:00

use "attr_writer" instead of "attr_accessor" for QueryColumn#sortable

QueryColumn#sortable is already defined in this class.

git-svn-id: http://svn.redmine.org/redmine/trunk@18616 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2019-10-07 11:45:11 +00:00
parent 21cc761b53
commit 1c0b6075ee
2 changed files with 2 additions and 2 deletions

View File

@ -495,7 +495,6 @@ Lint/DeprecatedClassMethods:
Lint/DuplicateMethods:
Exclude:
- 'app/models/query.rb'
- 'app/models/wiki_page.rb'
Lint/EmptyWhen:

View File

@ -20,7 +20,8 @@
require 'redmine/sort_criteria'
class QueryColumn
attr_accessor :name, :sortable, :groupable, :totalable, :default_order
attr_accessor :name, :groupable, :totalable, :default_order
attr_writer :sortable
include Redmine::I18n
def initialize(name, options={})