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:
parent
21cc761b53
commit
1c0b6075ee
@ -495,7 +495,6 @@ Lint/DeprecatedClassMethods:
|
||||
|
||||
Lint/DuplicateMethods:
|
||||
Exclude:
|
||||
- 'app/models/query.rb'
|
||||
- 'app/models/wiki_page.rb'
|
||||
|
||||
Lint/EmptyWhen:
|
||||
|
||||
@ -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={})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user