demarches-normaliennes/app/models/formulaire.rb

10 lines
189 B
Ruby
Raw Normal View History

2015-08-14 14:05:09 +02:00
class Formulaire < ActiveRecord::Base
has_many :types_piece_jointe
2015-08-17 11:15:04 +02:00
has_many :dossiers
belongs_to :evenement_vie
2015-08-17 17:08:13 +02:00
def self.for_admi_facile
where(use_admi_facile: true)
end
2015-08-10 11:05:06 +02:00
end