config/routes.rb in bullet_train-outgoing_webhooks-1.2.9 vs config/routes.rb in bullet_train-outgoing_webhooks-1.2.10

- old
+ new

@@ -4,14 +4,13 @@ namespace :account do shallow do resources BulletTrain::OutgoingWebhooks.parent_resource do namespace :webhooks do namespace :outgoing do - resources :events resources :endpoints do - resources :deliveries, only: [:index, :show] do - resources :delivery_attempts, only: [:index, :show] + resources :deliveries, only: %i[index show] do + resources :delivery_attempts, only: %i[index show] end end end end end @@ -23,9 +22,10 @@ shallow do resources :teams, extending do namespace :webhooks do namespace :outgoing do resources :endpoints, defaults: {format: :json} + resources :events, only: %i[index show], defaults: {format: :json} end end end end end