Autofix Rubocop Style/IfUnlessModifier (#23697)

This commit is contained in:
Nick Schonning
2023-02-18 06:37:47 -05:00
committed by GitHub
parent 9ab2a775c9
commit e2a3ebb271
40 changed files with 55 additions and 271 deletions

View File

@ -90,9 +90,7 @@ module Admin
end
def action_from_button
if params[:save]
'save'
end
'save' if params[:save]
end
end
end