Sha256: f5d00f31a962dfa8cd9db46672e866355c0d8c1d75ceb72cb25ce40f4de89c68

Contents?: true

Size: 306 Bytes

Versions: 27

Compression:

Stored size: 306 Bytes

Contents

Rails.application.routes.draw do
  resources :posts
  resources :people do
    get :swagger, on: :collection
  end

  mount SoberSwag::Server.new(cache: -> { Rails.env.production? }), at: '/swagger'
  # For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
sober_swag-0.25.2 example/config/routes.rb
sober_swag-0.25.1 example/config/routes.rb
sober_swag-0.25.0 example/config/routes.rb
sober_swag-0.24.1 example/config/routes.rb
sober_swag-0.24.0 example/config/routes.rb
sober_swag-0.23.0 example/config/routes.rb
sober_swag-0.22.0 example/config/routes.rb
sober_swag-0.21.0 example/config/routes.rb
sober_swag-0.20.0 example/config/routes.rb
sober_swag-0.19.0 example/config/routes.rb
sober_swag-0.18.0 example/config/routes.rb
sober_swag-0.17.0 example/config/routes.rb
sober_swag-0.16.0 example/config/routes.rb
sober_swag-0.15.0 example/config/routes.rb
sober_swag-0.14.0 example/config/routes.rb
sober_swag-0.13.0 example/config/routes.rb
sober_swag-0.12.0 example/config/routes.rb
sober_swag-0.11.0 example/config/routes.rb
sober_swag-0.10.0 example/config/routes.rb
sober_swag-0.9.0 example/config/routes.rb