correctif(patron): limite l'usage de la page patron aux devs
This commit is contained in:
parent
84a667b8bd
commit
5c48036cc6
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ Rails.application.routes.draw do
|
|||
resources :recherche, only: [:index]
|
||||
resources :api_tokens, only: [:create, :update, :destroy]
|
||||
|
||||
get "patron" => "root#patron"
|
||||
get "patron" => "root#patron" if Rails.env.development? || Rails.env.test?
|
||||
get "suivi" => "root#suivi"
|
||||
post "dismiss_outdated_browser" => "root#dismiss_outdated_browser"
|
||||
post "save_locale" => "root#save_locale"
|
||||
|
|
Loading…
Reference in a new issue