Sha256: 6dc1cef8deda8d0a20389ff79380866ae6132ef0463fe68b2a9890644f5e57e4

Contents?: true

Size: 943 Bytes

Versions: 20

Compression:

Stored size: 943 Bytes

Contents

Rails.application.routes.draw do
  mount Zizia::Engine => '/'
  mount Riiif::Engine => 'images', as: :riiif if Hyrax.config.iiif_image_server?
  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

20 entries across 20 versions & 1 rubygems

Version Path
zizia-6.0.1 spec/dummy/config/routes.rb
zizia-6.0.0 spec/dummy/config/routes.rb
zizia-5.5.0 spec/dummy/config/routes.rb
zizia-5.4.0 spec/dummy/config/routes.rb
zizia-5.3.0 spec/dummy/config/routes.rb
zizia-5.2.0 spec/dummy/config/routes.rb
zizia-5.1.0 spec/dummy/config/routes.rb
zizia-5.0.1 spec/dummy/config/routes.rb
zizia-5.0.0 spec/dummy/config/routes.rb
zizia-4.6.0.alpha.01 spec/dummy/config/routes.rb
zizia-4.5.4.alpha.01 spec/dummy/config/routes.rb
zizia-4.5.3.alpha.01 spec/dummy/config/routes.rb
zizia-4.5.2.alpha.01 spec/dummy/config/routes.rb
zizia-4.5.1.alpha.01 spec/dummy/config/routes.rb
zizia-4.4.1.alpha.01 spec/dummy/config/routes.rb
zizia-4.4.0.alpha.01 spec/dummy/config/routes.rb
zizia-4.3.1.alpha.01 spec/dummy/config/routes.rb
zizia-4.2.0.alpha.01 spec/dummy/config/routes.rb
zizia-4.1.0.alpha.01 spec/dummy/config/routes.rb
zizia-4.0.4.alpha.01 spec/dummy/config/routes.rb