Sha256: 6c0780610e1aabf81e8f009059a62a541ee10826ada4132d73685e29b0286b55
Contents?: true
Size: 854 Bytes
Versions: 129
Compression:
Stored size: 854 Bytes
Contents
Rails.application.routes.draw do extending = {only: []} namespace :account do shallow do resources BulletTrain::OutgoingWebhooks.parent_resource do namespace :webhooks do namespace :outgoing do resources :endpoints do resources :deliveries, only: %i[index show] do resources :delivery_attempts, only: %i[index show] end end end end end end end namespace :api do namespace :v1 do 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 end end
Version data entries
129 entries across 129 versions & 1 rubygems