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
@@ -19,7 +19,7 @@ class AddressEndpointsController < ApplicationController
flash[:notice] = params[:return_notice] if params[:return_notice].present?
redirect_to_with_json [:return_to, [organization, @server, :address_endpoints]]
else
render_form_errors 'new', @address_endpoint
render_form_errors "new", @address_endpoint
end
end
@@ -27,7 +27,7 @@ class AddressEndpointsController < ApplicationController
if @address_endpoint.update(safe_params)
redirect_to_with_json [organization, @server, :address_endpoints]
else
render_form_errors 'edit', @address_endpoint
render_form_errors "edit", @address_endpoint
end
end