Enable the Layout/EmptyLineBetweenDefs cop

This commit is contained in:
gregoirenovel 2017-06-12 15:27:16 +02:00
parent a62d5322b6
commit ff1f679c7b
5 changed files with 1 additions and 5 deletions

View file

@ -40,7 +40,7 @@ Layout/EmptyLineAfterMagicComment:
Enabled: true
Layout/EmptyLineBetweenDefs:
Enabled: false
Enabled: true
Layout/EmptyLines:
Enabled: false

View file

@ -11,7 +11,6 @@ class Admin::GestionnairesController < AdminController
@gestionnaire ||= Gestionnaire.new
end
def create
@gestionnaire = Gestionnaire.find_by_email(params[:gestionnaire][:email])
procedure_id = params[:procedure_id]

View file

@ -172,7 +172,6 @@ class Backoffice::DossiersController < Backoffice::DossiersListController
redirect_to backoffice_dossiers_path
end
def unarchive
@dossier = Dossier.find(params[:id])
if @dossier.archived

View file

@ -34,7 +34,6 @@ class DossierService
@dossier
end
def self.siren siret
siret[0..8]
end

View file

@ -38,7 +38,6 @@ class CreateFranceConnectInformation < ActiveRecord::Migration
remove_column :users, :france_connect_particulier_id
end
def down
add_column :users, :gender, :string
add_column :users, :given_name, :string