Skip to content
This repository was archived by the owner on Jan 5, 2019. It is now read-only.

Commit b0c1c37

Browse files
authored
Merge pull request #1223 from ualbertalib/1_3_bugfixes
fixes #1221 [browse page] and fixes #1220 [transfer ownership]
2 parents 35abb7d + 31a3ea6 commit b0c1c37

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

app/controllers/browse_controller.rb

-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ def self.modified_field
2222
end
2323

2424
configure_blacklight do |config|
25-
#Show gallery view
26-
config.view.gallery.partials = [:index_header, :index]
27-
config.view.slideshow.partials = [:index]
2825

2926
## Default parameters to send to solr for all search-like requests. See also SolrHelper#solr_search_params
3027
config.default_solr_params = {

config/routes.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ def self.matches?(request)
8989
get 'collections/:id/:per_page', controller: 'collections', action: :show
9090
get 'collections/:id/edit', controller: 'collections', action: :edit
9191
get 'recent', controller: 'recent', action: :index
92-
get 'files/:id/*file' => 'downloads#show', format: false
9392
get 'files/:id' => 'downloads#show', constraints: WantsThumbnailConstraint
9493

9594
# This must be the very last route in the file because it has a catch-all route for 404 errors.
9695
# This behavior seems to show up only in production mode.
9796
mount Sufia::Engine => '/'
97+
get 'files/:id/*file' => 'downloads#show', format: false
9898
root to: 'homepage#index'
9999
end

0 commit comments

Comments
 (0)