Autofix Rubocop Style/IfUnlessModifier (#23697)
This commit is contained in:
1 parent
9ab2a775c9
commit
e2a3ebb271
40 files changed
+55
-271
No files matched your search
@@ -90,9 +90,7 @@ module Admin
|
||||
end
|
||||
|
||||
def action_from_button
|
||||
if params[:save]
|
||||
'save'
|
||||
end
|
||||
'save' if params[:save]
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user