Sha256: 3472d2716fde0a9a5ea648934762a5e28d243b174545ae97710c589a60c6d6d6

Contents?: true

Size: 1.12 KB

Versions: 98

Compression:

Stored size: 1.12 KB

Contents

Rails.application.routes.draw do
  use_doorkeeper

  # See `config/routes.rb` in the starter repository for details.
  collection_actions = [:index, :new, :create] # standard:disable Lint/UselessAssignment
  extending = {only: []}

  namespace :account do
    shallow do
      resources :teams, extending do
        namespace :platform do
          resources :applications do
            resources :access_tokens
          end
        end
      end
    end
  end

  get "/testing/provision", to: "account/platform/applications#provision"

  namespace :api do
    match "*version/openapi.yaml" => "open_api#index", :via => :get

    BulletTrain::Api.all_versions.each do |version|
      namespace version do
        shallow do
          resources :users
          resources :teams do
            resources :invitations do
              member do
                post :resend
              end
            end
            resources :memberships
            namespace :platform do
              resources :applications do
                resources :access_tokens
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

98 entries across 98 versions & 1 rubygems

Version Path
bullet_train-api-1.6.32 config/routes.rb
bullet_train-api-1.6.31 config/routes.rb
bullet_train-api-1.6.30 config/routes.rb
bullet_train-api-1.6.29 config/routes.rb
bullet_train-api-1.6.28 config/routes.rb
bullet_train-api-1.6.27 config/routes.rb
bullet_train-api-1.6.26 config/routes.rb
bullet_train-api-1.6.25 config/routes.rb
bullet_train-api-1.6.24 config/routes.rb
bullet_train-api-1.6.23 config/routes.rb
bullet_train-api-1.6.22 config/routes.rb
bullet_train-api-1.6.21 config/routes.rb
bullet_train-api-1.6.20 config/routes.rb
bullet_train-api-1.6.19 config/routes.rb
bullet_train-api-1.6.18 config/routes.rb
bullet_train-api-1.6.17 config/routes.rb
bullet_train-api-1.6.16 config/routes.rb
bullet_train-api-1.6.15 config/routes.rb
bullet_train-api-1.6.14 config/routes.rb
bullet_train-api-1.6.13 config/routes.rb