Merge pull request #8482 from mfo/US/fix-patron
correctif(patron): limite l'usage de la page patron aux devs
This commit is contained in:
commit
4e0f83aad6
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