Sha256: 25c5c97561aee1b884b74973fe30a13aa370cb9cd3f1d8d9250e7915c76f7e9b

Contents?: true

Size: 254 Bytes

Versions: 1

Compression:

Stored size: 254 Bytes

Contents

module Grape
  module Swagger
    module Ui
      module Routes

        def self.draw(map)
          map.instance_exec do
            get "/api/swagger", :to => 'swagger#index', :as => 'api_swagger'
          end
        end

      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nedforce-grape-swagger-ui-0.2.0 lib/grape-swagger-ui/routes.rb