Skip to content

Commit

Permalink
PR #433: Fix RuboCop Style/SuperArguments: Call super without argumen…
Browse files Browse the repository at this point in the history
…ts and parentheses when the signature is identical.
  • Loading branch information
nbennke committed Jun 12, 2024
1 parent 7e6fe61 commit 79c161f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/controllers/groups_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def update
private

def filter(collection)
filter_include_inactive super(collection)
filter_include_inactive(super)
end

def group_params
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/users_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def update
private

def filter(collection)
filter_include_inactive super(collection)
filter_include_inactive(super)
end

def user_params(password_only: false)
Expand Down
2 changes: 1 addition & 1 deletion app/mailers/application_mailer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ def mail(options = {})
(options.delete(:interpolation) || {}).each do |target, values|
options[target] = I18n.interpolate(options[target], values)
end
super(options)
super
end
end
2 changes: 1 addition & 1 deletion app/models/citysdk/request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def self.authorized(tips:)
end

def assign_attributes(attributes)
super(attributes)
super
set_position_from_attributes
end

Expand Down

0 comments on commit 79c161f

Please sign in to comment.