Sha256: 17467b423071dd245500713acbe18367a11fc2ec7d149e1250a324b36e123be9

Contents?: true

Size: 267 Bytes

Versions: 1

Compression:

Stored size: 267 Bytes

Contents

# frozen_string_literal: true

ApiDocServer::Engine.routes.draw do
  scope format: false do
    resources :docs, only: %i(index show) do
      collection do
        get 'oauth2', to: 'docs#oauth2', format: false
      end
    end

    root to: 'docs#index'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
api_doc_server-1.0.0 config/routes.rb