Fix Rubocop offenses

This commit is contained in:
Sebastian Serth
2023-09-11 14:10:16 +02:00
parent a542985edd
commit c29256aa81
23 changed files with 27 additions and 27 deletions

View File

@ -11,7 +11,7 @@ class ErrorTemplateAttributesController < ApplicationController
# GET /error_template_attributes
# GET /error_template_attributes.json
def index
@error_template_attributes = ErrorTemplateAttribute.all.order('important DESC', :key,
@error_template_attributes = ErrorTemplateAttribute.order('important DESC', :key,
:id).paginate(page: params[:page], per_page: per_page_param)
authorize!
end