Skip to content

Commit

Permalink
Remove unused helper module
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Apr 11, 2017
1 parent 96cd01c commit b4b9ec1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
1 change: 0 additions & 1 deletion app/helpers/hyrax/hyrax_helper_behavior.rb
Expand Up @@ -6,7 +6,6 @@ module HyraxHelperBehavior
include ERB::Util # provides html_escape
include Hyrax::TitleHelper
include Hyrax::FileSetHelper
include Hyrax::SearchPathsHelper
include Hyrax::AbilityHelper
include Hyrax::UrlHelper
include Hyrax::EmbargoHelper
Expand Down
11 changes: 0 additions & 11 deletions app/helpers/hyrax/search_paths_helper.rb

This file was deleted.

6 changes: 0 additions & 6 deletions app/search_builders/hyrax/search_filters.rb
Expand Up @@ -10,11 +10,5 @@ def gated_discovery_filters(permission_types = discovery_permissions, ability =
return [] if ability.admin?
super
end

# show only files with edit permissions in lib/hydra/access_controls_enforcement.rb apply_gated_discovery
def discovery_permissions
return ['edit'] if blacklight_params[:works] == 'mine'
super
end
end
end

0 comments on commit b4b9ec1

Please sign in to comment.