fix(rubocop): Layout/ExtraSpacing et Layout/SpaceAroundOperators

This commit is contained in:
Colin Darie 2024-02-05 12:24:03 +01:00
parent e0d5dc84d5
commit e3f233cd51
No known key found for this signature in database
GPG key ID: 8C76CADD40253590
4 changed files with 5 additions and 5 deletions

View file

@ -2,8 +2,8 @@ module Manager
class OutdatedProceduresController < Manager::ApplicationController class OutdatedProceduresController < Manager::ApplicationController
def index def index
@records_per_page = params[:records_per_page] || "10" @records_per_page = params[:records_per_page] || "10"
resources = Procedure. resources = Procedure
where(procedure_expires_when_termine_enabled: false) .where(procedure_expires_when_termine_enabled: false)
.order(created_at: :asc) .order(created_at: :asc)
.page(params[:_page]) .page(params[:_page])
.per(@records_per_page) .per(@records_per_page)