2015-10-23 16:19:55 +02:00
|
|
|
class Administrateur < ActiveRecord::Base
|
|
|
|
# Include default devise modules. Others available are:
|
|
|
|
# :confirmable, :lockable, :timeoutable and :omniauthable
|
|
|
|
devise :database_authenticatable, :registerable,
|
|
|
|
:recoverable, :rememberable, :trackable, :validatable
|
2015-11-10 10:23:15 +01:00
|
|
|
|
|
|
|
has_many :gestionnaires
|
|
|
|
has_many :procedures
|
2015-10-23 16:19:55 +02:00
|
|
|
end
|