Remove unused admin/terms_of_service routes (#33288)

This commit is contained in:
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

View file

@ -39,7 +39,7 @@ namespace :admin do
resource :draft, only: [:show, :update]
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 :test, only: [:create], module: :terms_of_service
resource :distribution, only: [:create], module: :terms_of_service