Remove unused `admin/terms_of_service` routes (#33288)

pull/2921/head
Matt Jankowski 2024-12-12 15:17:15 -05:00 committed by GitHub
parent 0636bcdbe1
commit bc5b9d98a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ namespace :admin do
resource :draft, only: [:show, :update] resource :draft, only: [:show, :update]
end end
resources :terms_of_service, only: [:index, :create, :update] do resources :terms_of_service, only: [:index] do
resource :preview, only: [:show], module: :terms_of_service resource :preview, only: [:show], module: :terms_of_service
resource :test, only: [:create], module: :terms_of_service resource :test, only: [:create], module: :terms_of_service
resource :distribution, only: [:create], module: :terms_of_service resource :distribution, only: [:create], module: :terms_of_service