Sha256: 574407485f6a758fe724ae86a9c656e2d61c8c5dcd54a22972122b0993a0f97a

Contents?: true

Size: 700 Bytes

Versions: 14

Compression:

Stored size: 700 Bytes

Contents

# frozen_string_literal: true

BrowseEverything::Engine.routes.draw do
  get 'connect', to: 'browse_everything#auth', as: 'connector_response'
  match 'resolve', to: 'browse_everything#resolve', as: 'resolver', via: %i[get post]
  # The "format: false" argument ensures that directory paths containing period characters can be parsed
  # By default, ""/dir1/dir.somedirectory.2" will be parsed as "/dir1/dir" with the format requested as "somedirectory.2"
  # Please see http://guides.rubyonrails.org/routing.html#route-globbing-and-wildcard-segments
  match ':provider(/*path)', to: 'browse_everything#show', as: 'contents', via: %i[get post], format: false
  root to: 'browse_everything#index'
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
browse-everything-1.5.0 config/routes.rb
browse-everything-1.4.0 config/routes.rb
browse-everything-1.3.0 config/routes.rb
browse-everything-1.2.0 config/routes.rb
browse-everything-1.1.2 config/routes.rb
browse-everything-1.1.1 config/routes.rb
browse-everything-1.1.0 config/routes.rb
browse-everything-1.0.2 config/routes.rb
browse-everything-1.0.1 config/routes.rb
browse-everything-1.0.0 config/routes.rb
browse-everything-1.0.0.rc2 config/routes.rb
browse-everything-1.0.0.rc1 config/routes.rb
browse-everything-0.16.1 config/routes.rb
browse-everything-0.16.0 config/routes.rb