Rename Gestionnaire to Instructeur in seeds.rb
This commit is contained in:
parent
ea0d12cd29
commit
17579ab8a5
2 changed files with 2 additions and 2 deletions
|
@ -297,7 +297,7 @@ Rails.application.routes.draw do
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
# Gestionnaire
|
# Instructeur
|
||||||
#
|
#
|
||||||
|
|
||||||
scope module: 'instructeurs', as: 'instructeur' do
|
scope module: 'instructeurs', as: 'instructeur' do
|
||||||
|
|
|
@ -11,5 +11,5 @@ default_password = "this is a very complicated password !"
|
||||||
puts "Create test user '#{default_user}'"
|
puts "Create test user '#{default_user}'"
|
||||||
Administration.create!(email: default_user, password: default_password)
|
Administration.create!(email: default_user, password: default_password)
|
||||||
Administrateur.create!(email: default_user, password: default_password)
|
Administrateur.create!(email: default_user, password: default_password)
|
||||||
Gestionnaire.create!(email: default_user, password: default_password)
|
Instructeur.create!(email: default_user, password: default_password)
|
||||||
User.create!(email: default_user, password: default_password, confirmed_at: Time.zone.now)
|
User.create!(email: default_user, password: default_password, confirmed_at: Time.zone.now)
|
||||||
|
|
Loading…
Reference in a new issue