Sha256: fab016a08402b90e70f8bc087f0e1ac4165965c9c3563539800e015211738f8f

Contents?: true

Size: 958 Bytes

Versions: 12

Compression:

Stored size: 958 Bytes

Contents

ForestLiana::Engine.routes.draw do
  # Stripe Integration
  get 'stripe_payments' => 'stripe#payments'
  get ':collection/:id/stripe_payments' => 'stripe#payments'
  post 'stripe_payments/refunds' => 'stripe#refund'
  get 'stripe_invoices' => 'stripe#invoices'
  get ':collection/:id/stripe_invoices' => 'stripe#invoices'
  get ':collection/:id/stripe_cards' => 'stripe#cards'

  # Intercom Integration
  get ':collection/:id/intercom_conversations' => 'intercom#user_conversations'
  get ':collection/:id/intercom_attributes' => 'intercom#attributes'

  # Stats
  post '/stats/:collection' => 'stats#show'

  # CRUD
  get '/' => 'apimaps#index'
  get ':collection' => 'resources#index'
  get ':collection/:id' => 'resources#show'
  post ':collection' => 'resources#create'
  put ':collection/:id' => 'resources#update'
  delete ':collection/:id' => 'resources#destroy'

  # Associations
  get ':collection/:id/:association_name' => 'associations#index'
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
forest_liana-1.1.35 config/routes.rb
forest_liana-1.1.34 config/routes.rb
forest_liana-1.1.33 config/routes.rb
forest_liana-1.1.32 config/routes.rb
forest_liana-1.1.31 config/routes.rb
forest_liana-1.1.30 config/routes.rb
forest_liana-1.1.29 config/routes.rb
forest_liana-1.1.28 config/routes.rb
forest_liana-1.1.27 config/routes.rb
forest_liana-1.1.26 config/routes.rb
forest_liana-1.1.25 config/routes.rb
forest_liana-1.1.23 config/routes.rb