Enable the Layout/EmptyLineBetweenDefs cop
This commit is contained in:
parent
a62d5322b6
commit
ff1f679c7b
5 changed files with 1 additions and 5 deletions
|
@ -40,7 +40,7 @@ Layout/EmptyLineAfterMagicComment:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
Layout/EmptyLineBetweenDefs:
|
Layout/EmptyLineBetweenDefs:
|
||||||
Enabled: false
|
Enabled: true
|
||||||
|
|
||||||
Layout/EmptyLines:
|
Layout/EmptyLines:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
|
@ -11,7 +11,6 @@ class Admin::GestionnairesController < AdminController
|
||||||
@gestionnaire ||= Gestionnaire.new
|
@gestionnaire ||= Gestionnaire.new
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
def create
|
def create
|
||||||
@gestionnaire = Gestionnaire.find_by_email(params[:gestionnaire][:email])
|
@gestionnaire = Gestionnaire.find_by_email(params[:gestionnaire][:email])
|
||||||
procedure_id = params[:procedure_id]
|
procedure_id = params[:procedure_id]
|
||||||
|
|
|
@ -172,7 +172,6 @@ class Backoffice::DossiersController < Backoffice::DossiersListController
|
||||||
redirect_to backoffice_dossiers_path
|
redirect_to backoffice_dossiers_path
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
def unarchive
|
def unarchive
|
||||||
@dossier = Dossier.find(params[:id])
|
@dossier = Dossier.find(params[:id])
|
||||||
if @dossier.archived
|
if @dossier.archived
|
||||||
|
|
|
@ -34,7 +34,6 @@ class DossierService
|
||||||
@dossier
|
@dossier
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
def self.siren siret
|
def self.siren siret
|
||||||
siret[0..8]
|
siret[0..8]
|
||||||
end
|
end
|
||||||
|
|
|
@ -38,7 +38,6 @@ class CreateFranceConnectInformation < ActiveRecord::Migration
|
||||||
remove_column :users, :france_connect_particulier_id
|
remove_column :users, :france_connect_particulier_id
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
def down
|
def down
|
||||||
add_column :users, :gender, :string
|
add_column :users, :gender, :string
|
||||||
add_column :users, :given_name, :string
|
add_column :users, :given_name, :string
|
||||||
|
|
Loading…
Reference in a new issue