Sha256: ea4212d5f0978b9d328c0ffde8d6cbd0256d7dd429e1d403879ab20d942d1a94

Contents?: true

Size: 645 Bytes

Versions: 11

Compression:

Stored size: 645 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'

  # 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

11 entries across 11 versions & 1 rubygems

Version Path
forest_liana-1.1.22 config/routes.rb
forest_liana-1.1.20 config/routes.rb
forest_liana-1.1.19 config/routes.rb
forest_liana-1.1.18 config/routes.rb
forest_liana-1.1.17 config/routes.rb
forest_liana-1.1.14 config/routes.rb
forest_liana-1.1.13 config/routes.rb
forest_liana-1.1.12 config/routes.rb
forest_liana-1.1.11 config/routes.rb
forest_liana-1.1.10 config/routes.rb
forest_liana-1.1.8 config/routes.rb