style(rubocop): fix all safe auto correctable offenses

This commit is contained in:
Charlie Smurthwaite
2023-03-16 15:50:53 +00:00
parent 02c93a4850
commit fd289c46fd
204 changed files with 2611 additions and 2486 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ class CredentialsController < ApplicationController
if @credential.save
redirect_to_with_json [organization, @server, :credentials]
else
render_form_errors 'new', @credential
render_form_errors "new", @credential
end
end
@@ -26,7 +26,7 @@ class CredentialsController < ApplicationController
if @credential.update(params.require(:credential).permit(:name, :key, :hold))
redirect_to_with_json [organization, @server, :credentials]
else
render_form_errors 'edit', @credential
render_form_errors "edit", @credential
end
end