Skip to content

Commit

Permalink
Front page goes to default search. Story #297 (#298)
Browse files Browse the repository at this point in the history
* Changes the root route to just display search results instead of
default hyrax home page.

* Connected to #297
  • Loading branch information
val99erie authored and hardyoyo committed Oct 25, 2018
1 parent 3ee5968 commit e5025aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
require 'sidekiq/web'

Rails.application.routes.draw do
root 'catalog#index'
mount Riiif::Engine => 'images', as: :riiif if Hyrax.config.iiif_image_server?
mount Blacklight::Engine => '/'

Expand All @@ -17,7 +18,6 @@
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

Expand Down

0 comments on commit e5025aa

Please sign in to comment.