Sha256: 0244aa90c0dbcf49a7914020a29a950506bcd76db0d668b854b2a35ed79308f5

Contents?: true

Size: 590 Bytes

Versions: 5

Compression:

Stored size: 590 Bytes

Contents

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

  # 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

5 entries across 5 versions & 1 rubygems

Version Path
forest_liana-1.1.4 config/routes.rb
forest_liana-1.1.3 config/routes.rb
forest_liana-1.1.2 config/routes.rb
forest_liana-1.1.1 config/routes.rb
forest_liana-1.1.0 config/routes.rb