Sha256: a8baa94673a77e8bceaa86f034b57297858bfac1be0420583f67b0ac2ef31fc1

Contents?: true

Size: 1.22 KB

Versions: 12

Compression:

Stored size: 1.22 KB

Contents

ForestLiana::Engine.routes.draw do
  # Login
  post 'sessions' => 'sessions#create'

  # Stripe Integration
  get '(:collection)_stripe_payments' => 'stripe#payments'
  get ':collection/:id/stripe_payments' => 'stripe#payments'
  post 'stripe_payments/refunds' => 'stripe#refund'
  get '(:collection)_stripe_invoices' => 'stripe#invoices'
  get ':collection/:id/stripe_invoices' => 'stripe#invoices'
  get ':collection/:id/stripe_cards' => 'stripe#cards'
  get '(:collection)_stripe_subscriptions' => 'stripe#subscriptions'
  get ':collection/:id/stripe_subscriptions' => 'stripe#subscriptions'
  get ':collection/:id/stripe_bank_accounts' => 'stripe#bank_accounts'

  # 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.3.40 config/routes.rb
forest_liana-1.3.39 config/routes.rb
forest_liana-1.3.38 config/routes.rb
forest_liana-1.3.37 config/routes.rb
forest_liana-1.3.36 config/routes.rb
forest_liana-1.3.35 config/routes.rb
forest_liana-1.3.34 config/routes.rb
forest_liana-1.3.33 config/routes.rb
forest_liana-1.3.32 config/routes.rb
forest_liana-1.3.31 config/routes.rb
forest_liana-1.3.30 config/routes.rb
forest_liana-1.3.29 config/routes.rb