fix rubocop offenses
This commit is contained in:
parent
aa407d5607
commit
9134114c2e
3 changed files with 8 additions and 10 deletions
|
@ -5,12 +5,11 @@ class ProcedureArchiveService
|
|||
@procedure = procedure
|
||||
end
|
||||
|
||||
def create_pending_archive(instructeur, type, month=nil)
|
||||
def create_pending_archive(instructeur, type, month = nil)
|
||||
groupe_instructeurs = instructeur
|
||||
.groupe_instructeurs
|
||||
.where(procedure: @procedure)
|
||||
|
||||
|
||||
archive = Archive.for_groupe_instructeur(groupe_instructeurs).find_by(
|
||||
content_type: type,
|
||||
month: month
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue