Remove demo route
This commit is contained in:
parent
a4b9eecded
commit
1fb26451d3
1 changed files with 0 additions and 3 deletions
|
@ -93,20 +93,17 @@ Rails.application.routes.draw do
|
|||
}
|
||||
|
||||
devise_scope :user do
|
||||
get '/users/sign_in/demo' => redirect("/users/sign_in")
|
||||
get '/users/no_procedure' => 'users/sessions#no_procedure'
|
||||
get 'connexion-par-jeton/:id' => 'users/sessions#sign_in_by_link', as: 'sign_in_by_link'
|
||||
get 'lien-envoye/:email' => 'users/sessions#link_sent', constraints: { email: /.*/ }, as: 'link_sent'
|
||||
end
|
||||
|
||||
devise_scope :instructeur do
|
||||
get '/instructeurs/sign_in/demo' => redirect("/users/sign_in")
|
||||
get '/instructeurs/edit' => 'instructeurs/registrations#edit', :as => 'edit_instructeurs_registration'
|
||||
put '/instructeurs' => 'instructeurs/registrations#update', :as => 'instructeurs_registration'
|
||||
end
|
||||
|
||||
devise_scope :administrateur do
|
||||
get '/administrateurs/sign_in/demo' => redirect("/users/sign_in")
|
||||
get '/administrateurs/password/test_strength' => 'administrateurs/passwords#test_strength'
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue