summaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-05-01 09:21:47 +0000
committerGo MAEDA <maeda@farend.jp>2024-05-01 09:21:47 +0000
commit6f82abf463588d129b66d12d55129f123dcf8c67 (patch)
treeda074f651e30ac952350cc2101348955cd69ef19 /app/models
parent6fa12a95abaff2e5422588a69b8abf4f2ba28d74 (diff)
downloadredmine-6f82abf463588d129b66d12d55129f123dcf8c67.tar.gz
redmine-6f82abf463588d129b66d12d55129f123dcf8c67.zip
Fix RuboCop offense Style/SuperWithArgsParentheses (#37862).
git-svn-id: https://svn.redmine.org/redmine/trunk@22801 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models')
-rw-r--r--app/models/issue_query.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue_query.rb b/app/models/issue_query.rb
index 6a2771343..0895e8074 100644
--- a/app/models/issue_query.rb
+++ b/app/models/issue_query.rb
@@ -22,7 +22,7 @@ class IssueQuery < Query
COLUMN_SQL = Arel.sql("COALESCE(#{Issue.table_name}.estimated_hours, 0) * (100 - COALESCE(#{Issue.table_name}.done_ratio, 0)) / 100")
def initialize
- super :estimated_remaining_hours, totalable: true, sortable: COLUMN_SQL
+ super(:estimated_remaining_hours, totalable: true, sortable: COLUMN_SQL)
end
def value(object)