Skip to content

Commit

Permalink
route to catalog instead of solr_documents
Browse files Browse the repository at this point in the history
  • Loading branch information
eliotjordan committed Jul 27, 2016
1 parent 4fdc63f commit 38fafe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/geoblacklight/install_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def mount_geoblacklight_engine
def inject_geoblacklight_routes
route <<-EOF.strip_heredoc
concern :gbl_exportable, Geoblacklight::Routes::Exportable.new
resources :solr_documents, only: [:show], controller: 'catalog' do
resources :solr_documents, only: [:show], path: '/catalog', controller: 'catalog' do
concerns :gbl_exportable
end
Expand Down

0 comments on commit 38fafe6

Please sign in to comment.