Skip to content

Commit

Permalink
Merge 468fe28 into 204146e
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Dec 14, 2018
2 parents 204146e + 468fe28 commit 32d7aae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/content_controller.rb
Expand Up @@ -5,13 +5,13 @@ class ContentController < ApplicationController
end

def read
location = druid_tools.path(params[:path])
location = druid_tools.find(:content, params[:path])

send_file location
end

def list
location = druid_tools.path
location = druid_tools.content_dir(false)

raise ActionController::MissingFile, location unless Dir.exist? location

Expand Down

0 comments on commit 32d7aae

Please sign in to comment.