9 lines
328 B
Ruby
9 lines
328 B
Ruby
class Administrateur < ActiveRecord::Base
|
|
# Include default devise modules. Others available are:
|
|
# :confirmable, :lockable, :timeoutable and :omniauthable
|
|
devise :database_authenticatable, :registerable,
|
|
:recoverable, :rememberable, :trackable, :validatable
|
|
|
|
has_many :gestionnaires
|
|
has_many :procedures
|
|
end
|