Sha256: 5850b8e36f4ecdd99aa75053d69bbcad2165ee9418eafb217d5c13ef0d34d77d

Contents?: true

Size: 1.04 KB

Versions: 6

Compression:

Stored size: 1.04 KB

Contents

require 'sidekiq/web'

Rails.application.routes.draw do
  mount Riiif::Engine => 'images', as: :riiif if Hyrax.config.iiif_image_server?
        mount BrowseEverything::Engine => '/browse'

  mount Blacklight::Engine => '/'
  
  concern :searchable, Blacklight::Routes::Searchable.new

  resource :catalog, only: [:index], as: 'catalog', path: '/catalog', controller: 'catalog' do
    concerns :searchable
  end
  devise_for :users
  mount Hydra::RoleManagement::Engine => '/'
  mount Sidekiq::Web => '/sidekiq'
  mount Qa::Engine => '/authorities'
  mount Hyrax::Engine, at: '/'
  resources :welcome, only: 'index'
  root 'hyrax/homepage#index'
  curation_concerns_basic_routes
  concern :exportable, Blacklight::Routes::Exportable.new

  resources :solr_documents, only: [:show], path: '/catalog', controller: 'catalog' do
    concerns :exportable
  end

  resources :bookmarks do
    concerns :exportable

    collection do
      delete 'clear'
    end
  end
  # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hyrax-5.0.0.rc1 .koppie/config/routes.rb
hyrax-4.0.0 .koppie/config/routes.rb
hyrax-4.0.0.rc3 .koppie/config/routes.rb
hyrax-4.0.0.rc2 .koppie/config/routes.rb
hyrax-4.0.0.rc1 .koppie/config/routes.rb
hyrax-4.0.0.beta2 .koppie/config/routes.rb