Sha256: 849e9e80444fe607a497d337c59bd6ba8ebc4169c0291f82bd40f2172a109208

Contents?: true

Size: 1.7 KB

Versions: 9

Compression:

Stored size: 1.7 KB

Contents

Qa::Engine.routes.draw do
  get "/list/linked_data/authorities", controller: :linked_data_terms, action: :list
  get "/reload/linked_data/authorities", controller: :linked_data_terms, action: :reload
  get "/search/linked_data/:vocab(/:subauthority)", controller: :linked_data_terms, action: :search
  get "/fetch/linked_data/:vocab", controller: :linked_data_terms, action: :fetch
  get "/show/linked_data/:vocab/:id", controller: :linked_data_terms, action: :show
  get "/show/linked_data/:vocab/:subauthority/:id", controller: :linked_data_terms, action: :show
  get "/terms/:vocab(/:subauthority)",  controller: :terms, action: :index
  get "/search/:vocab(/:subauthority)", controller: :terms, action: :search
  get "/show/:vocab/:id", controller: :terms, action: :show
  get "/show/:vocab/:subauthority/:id", controller: :terms, action: :show
  get "/fetch/:vocab", controller: :terms, action: :fetch
  get "/fetch/:vocab/:subauthority", controller: :terms, action: :fetch

  match "/search/linked_data/:vocab(/:subauthority)", to: 'application#options', via: [:options]
  match "/show/linked_data/:vocab/:id", to: 'application#options', via: [:options]
  match "/show/linked_data/:vocab/:subauthority/:id", to: 'application#options', via: [:options]
  match "/terms/:vocab(/:subauthority)",  to: 'application#options', via: [:options]
  match "/search/:vocab(/:subauthority)", to: 'application#options', via: [:options]
  match "/show/:vocab/:id", to: 'application#options', via: [:options]
  match "/show/:vocab/:subauthority/:id", to: 'application#options', via: [:options]
  match "/fetch/:vocab", to: 'application#options', via: [:options]
  match "/fetch/:vocab/:subauthority", to: 'application#options', via: [:options]
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
qa-5.14.0 config/routes.rb
qa-5.13.0 config/routes.rb
qa-5.12.0 config/routes.rb
qa-5.11.0 config/routes.rb
qa-5.10.0 config/routes.rb
qa-5.9.0 config/routes.rb
qa-5.8.1 config/routes.rb
qa-5.8.0 config/routes.rb
qa-5.7.0 config/routes.rb