Sha256: c498bd48fe5eabaae1eb53fcbd6968e07bbbe5fa3f81f37f83b8ad6bdc8bef24
Contents?: true
Size: 1.49 KB
Versions: 2
Compression:
Stored size: 1.49 KB
Contents
ForestLiana::Engine.routes.draw do router = ForestLiana::Router.new # Onboarding get '/' => 'apimaps#index' # Session post 'sessions' => 'sessions#create' # CRUD get ':collection', to: router get ':collection/:id', to: router post ':collection', to: router put ':collection/:id', to: router delete ':collection/:id', to: router # Associations get ':collection/:id/relationships/:association_name' => 'associations#index' put ':collection/:id/relationships/:association_name' => 'associations#update' post ':collection/:id/relationships/:association_name' => 'associations#associate' delete ':collection/:id/relationships/:association_name' => 'associations#dissociate' # Stats post '/stats/:collection' => 'stats#show' # 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' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
forest_liana-1.5.14 | config/routes.rb |
forest_liana-1.5.13 | config/routes.rb |