Sha256: 258cb96c142c35b762f600c348b94cb23fa93f128980577800679417b3b2f6ba

Contents?: true

Size: 341 Bytes

Versions: 2

Compression:

Stored size: 341 Bytes

Contents

Rails.application.routes.draw do
  root to: "rooms#index"
  resources :rooms, only: [:index]
  resources :chats, only: [:create] do
    member do
      get :generate_checkout_token
    end
  end

  resource :pay, only: [] do
    post :notify
    get :finish
    get :unfinish
    get :error
  end

  mount ActionCable.server => '/cable'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
veritrans-2.3.0 example/rails/cable/config/routes.rb
veritrans-2.2.0 example/rails/cable/config/routes.rb