Remove useless parentheses on new() call
This commit is contained in:
@@ -527,12 +527,6 @@ Style/Lambda:
|
|||||||
- 'app/models/vote.rb'
|
- 'app/models/vote.rb'
|
||||||
- 'lib/graph_ql/api_types_creator.rb'
|
- 'lib/graph_ql/api_types_creator.rb'
|
||||||
|
|
||||||
# Offense count: 1
|
|
||||||
# Cop supports --auto-correct.
|
|
||||||
Style/MethodCallWithoutArgsParentheses:
|
|
||||||
Exclude:
|
|
||||||
- 'app/controllers/management/document_verifications_controller.rb'
|
|
||||||
|
|
||||||
# Offense count: 1
|
# Offense count: 1
|
||||||
Style/MultilineBlockChain:
|
Style/MultilineBlockChain:
|
||||||
Exclude:
|
Exclude:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ class Management::DocumentVerificationsController < Management::BaseController
|
|||||||
before_action :set_document, only: :check
|
before_action :set_document, only: :check
|
||||||
|
|
||||||
def index
|
def index
|
||||||
@document_verification = Verification::Management::Document.new()
|
@document_verification = Verification::Management::Document.new
|
||||||
end
|
end
|
||||||
|
|
||||||
def check
|
def check
|
||||||
|
|||||||
Reference in New Issue
Block a user