Sha256: f67660e1077eeb6769fe3fcb0f362d9d4c34e2d77b2b5b42d997d54856dfc6cc

Contents?: true

Size: 406 Bytes

Versions: 22

Compression:

Stored size: 406 Bytes

Contents

Rails.application.routes.draw do
  resources :companies do
    collection do
      get :export
    end
    resources :contacts, only: %i[index] do
      collection do
        post :manage
      end
    end
  end

  get '/oauth', to: 'oauth/authorization#authorize'
  get '/oauth/callback', to: 'oauth/authorization#callback'
  get '/login', to: 'oauth/authorization#login'
  root to: 'companies#index'
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
hubspot-api-client-2.0.0 sample-apps/companies-app/config/routes.rb
hubspot-api-client-1.0.1 sample-apps/companies-app/config/routes.rb