Fix rubocop offenses after bundle update

This commit is contained in:
Sebastian Serth
2021-06-30 08:58:14 +02:00
parent ffc7d9d57f
commit 110f1a5750
9 changed files with 13 additions and 16 deletions

View File

@ -89,7 +89,6 @@ class ErrorTemplateAttributesController < ApplicationController
@error_template_attribute = ErrorTemplateAttribute.find(params[:id])
end
# Never trust parameters from the scary internet, only allow the white list through.
def error_template_attribute_params
if params[:error_template_attribute].present?
params[:error_template_attribute].permit(:key, :description, :regex,