app/controllers/downloads_controller.rb in hydra-head-4.0.3 vs app/controllers/downloads_controller.rb in hydra-head-4.1.0
- old
+ new
@@ -1,6 +1,6 @@
class DownloadsController < ApplicationController
- include Hydra::RepositoryController
+ include Hydra::Controller::RepositoryControllerBehavior
include Hydra::AssetsControllerHelper
helper :downloads
# Note: Actual downloads are handled by the index method insead of the show method
# in order to avoid ActionController being clever with the filenames/extensions/formats.