Rename gestionnaire in code to instructeur
This commit is contained in:
parent
6902f84b85
commit
3fde2a6f70
175 changed files with 1162 additions and 1162 deletions
|
@ -17,10 +17,10 @@ module TrustedDeviceConcern
|
|||
(Time.zone.now - TRUSTED_DEVICE_PERIOD) < trusted_device_cookie_created_at
|
||||
end
|
||||
|
||||
def send_login_token_or_bufferize(gestionnaire)
|
||||
if !gestionnaire.young_login_token?
|
||||
login_token = gestionnaire.create_trusted_device_token
|
||||
GestionnaireMailer.send_login_token(gestionnaire, login_token).deliver_later
|
||||
def send_login_token_or_bufferize(instructeur)
|
||||
if !instructeur.young_login_token?
|
||||
login_token = instructeur.create_trusted_device_token
|
||||
InstructeurMailer.send_login_token(instructeur, login_token).deliver_later
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue