Remove inconsistent and useless blank lines in models
This commit is contained in:
parent
d47e8b3702
commit
04845efdfc
6 changed files with 0 additions and 6 deletions
|
@ -27,5 +27,4 @@ class Administrateur < ActiveRecord::Base
|
|||
break token unless Administrateur.find_by(api_token: token)
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
class Entreprise < ActiveRecord::Base
|
||||
|
||||
belongs_to :dossier
|
||||
has_one :etablissement, dependent: :destroy
|
||||
has_one :rna_information, dependent: :destroy
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
class Etablissement < ActiveRecord::Base
|
||||
|
||||
belongs_to :dossier
|
||||
belongs_to :entreprise
|
||||
|
||||
|
|
|
@ -2,5 +2,4 @@ class Exercice < ActiveRecord::Base
|
|||
belongs_to :etablissement
|
||||
|
||||
validates :ca, presence: true, allow_blank: false, allow_nil: false
|
||||
|
||||
end
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
class FranceConnectParticulierClient < OpenIDConnect::Client
|
||||
|
||||
def initialize params={}
|
||||
super(
|
||||
identifier: FRANCE_CONNECT.particulier_identifier,
|
||||
|
|
|
@ -37,5 +37,4 @@ class User < ActiveRecord::Base
|
|||
def invite? dossier_id
|
||||
invites.pluck(:dossier_id).include?(dossier_id.to_i)
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue