Sha256: 877b2857e2844fff3a18709c1232e031ffbff3269366b7e10c5c7e211b5cec06
Contents?: true
Size: 1.57 KB
Versions: 37
Compression:
Stored size: 1.57 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' # Devise support post '/actions/change-password' => 'devise#change_password' end
Version data entries
37 entries across 37 versions & 1 rubygems