Sha256: 9592447e1fc481c844cf9c099c90c68e943c8fa04b78a8b6cd217d648f01fc11

Contents?: true

Size: 318 Bytes

Versions: 2

Compression:

Stored size: 318 Bytes

Contents

Rails.application.routes.draw do
  resources :scc_accounts do
    collection do
      put 'test_connection'
    end
    member do
      put 'sync'
      put 'bulk_subscribe'
    end
  end
  resources :scc_products, only: [:index, :show] do
    member do
      put 'subscribe'
      put 'unsubscribe'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foreman_scc_manager-1.0.1 config/routes.rb
foreman_scc_manager-1.0.0 config/routes.rb