Sha256: 488e839f146be6145a70da0c1eaf4cac079ad21e17e774e1ff5d7010fea71976

Contents?: true

Size: 1.04 KB

Versions: 24

Compression:

Stored size: 1.04 KB

Contents

require 'sidekiq/web'

Rails.application.routes.draw do
  mount Sidekiq::Web => '/sidekiq' # for sidekik monitoring; completely public
  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 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

24 entries across 24 versions & 1 rubygems

Version Path
hyrax-5.0.1 .dassie/config/routes.rb
hyrax-5.0.0 .dassie/config/routes.rb
hyrax-5.0.0.rc3 .dassie/config/routes.rb
hyrax-5.0.0.rc2 .dassie/config/routes.rb
hyrax-5.0.0.rc1 .dassie/config/routes.rb
hyrax-3.6.0 .dassie/config/routes.rb
hyrax-4.0.0 .dassie/config/routes.rb
hyrax-4.0.0.rc3 .dassie/config/routes.rb
hyrax-4.0.0.rc2 .dassie/config/routes.rb
hyrax-4.0.0.rc1 .dassie/config/routes.rb
hyrax-3.5.0 .dassie/config/routes.rb
hyrax-4.0.0.beta2 .dassie/config/routes.rb
hyrax-3.4.2 .dassie/config/routes.rb
hyrax-4.0.0.beta1 .dassie/config/routes.rb
hyrax-3.4.1 .dassie/config/routes.rb
hyrax-3.4.0 .dassie/config/routes.rb
hyrax-3.3.0 .dassie/config/routes.rb
hyrax-3.2.0 .dassie/config/routes.rb
hyrax-3.1.0 .dassie/config/routes.rb
hyrax-3.0.2 .dassie/config/routes.rb