Skip to content

Commit f363506

Browse files
authored
Merge pull request #3586 from projectblacklight/unnecessary-rubocop
Remove unnecessary rubocop ignore
2 parents 5f30abc + c7beaf0 commit f363506

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/blacklight/configuration/field.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ def validate!
3333
raise ArgumentError, "Must supply a field name" if self.field.nil?
3434
end
3535

36-
# rubocop:disable Style/RedundantParentheses
3736
def display_label(context = nil, **)
3837
field_label(
3938
(:"blacklight.search.fields.#{context}.#{key}" if context),
@@ -43,7 +42,6 @@ def display_label(context = nil, **)
4342
**
4443
)
4544
end
46-
# rubocop:enable Style/RedundantParentheses
4745

4846
def default_label
4947
if self.key.respond_to?(:titleize)

0 commit comments

Comments
 (0)